ci: fix cypress
This commit is contained in:
@@ -26,12 +26,21 @@ jobs:
|
|||||||
- name: Set alternate npm integrity keys
|
- name: Set alternate npm integrity keys
|
||||||
run: |
|
run: |
|
||||||
echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')" >> $GITHUB_ENV
|
echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')" >> $GITHUB_ENV
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 23
|
node-version: 23
|
||||||
cache: pnpm
|
cache: pnpm
|
||||||
|
|
||||||
|
- uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: ~/.cache/Cypress
|
||||||
|
key: cypress-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
|
||||||
|
|
||||||
- run: pnpm install
|
- run: pnpm install
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
@@ -26,12 +26,21 @@ jobs:
|
|||||||
- name: Set alternate npm integrity keys
|
- name: Set alternate npm integrity keys
|
||||||
run: |
|
run: |
|
||||||
echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')" >> $GITHUB_ENV
|
echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')" >> $GITHUB_ENV
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 23
|
node-version: 23
|
||||||
cache: pnpm
|
cache: pnpm
|
||||||
|
|
||||||
|
- uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: ~/.cache/Cypress
|
||||||
|
key: cypress-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
|
||||||
|
|
||||||
- run: pnpm install
|
- run: pnpm install
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
@@ -26,12 +26,21 @@ jobs:
|
|||||||
- name: Set alternate npm integrity keys
|
- name: Set alternate npm integrity keys
|
||||||
run: |
|
run: |
|
||||||
echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')" >> $GITHUB_ENV
|
echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')" >> $GITHUB_ENV
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 23
|
node-version: 23
|
||||||
cache: pnpm
|
cache: pnpm
|
||||||
|
|
||||||
|
- uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: ~/.cache/Cypress
|
||||||
|
key: cypress-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
|
||||||
|
|
||||||
- run: pnpm install
|
- run: pnpm install
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
+11
-2
@@ -2,7 +2,7 @@
|
|||||||
"name": "vue-apollo-monorepo",
|
"name": "vue-apollo-monorepo",
|
||||||
"version": "4.2.1",
|
"version": "4.2.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "pnpm@10.6.1+sha512.40ee09af407fa9fbb5fbfb8e1cb40fbb74c0af0c3e10e9224d7b53c7658528615b2c92450e74cfad91e3a2dcafe3ce4050d80bda71d757756d2ce2b66213e9a3",
|
"packageManager": "pnpm@10.6.2+sha512.47870716bea1572b53df34ad8647b42962bc790ce2bf4562ba0f643237d7302a3d6a8ecef9e4bdfc01d23af1969aa90485d4cebb0b9638fa5ef1daef656f6c1b",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "pnpm run -r --filter \"vue-apollo*\" --filter \"@vue/apollo*\" build",
|
"build": "pnpm run -r --filter \"vue-apollo*\" --filter \"@vue/apollo*\" build",
|
||||||
"test": "pnpm run -r --sequential test",
|
"test": "pnpm run -r --sequential test",
|
||||||
@@ -50,7 +50,16 @@
|
|||||||
"esbuild": "*",
|
"esbuild": "*",
|
||||||
"vue": "*"
|
"vue": "*"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"onlyBuiltDependencies": [
|
||||||
|
"@apollo/protobufjs",
|
||||||
|
"core-js",
|
||||||
|
"core-js-pure",
|
||||||
|
"cypress",
|
||||||
|
"esbuild",
|
||||||
|
"nodemon",
|
||||||
|
"vue-demi"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"js-yaml": "^3.13.1"
|
"js-yaml": "^3.13.1"
|
||||||
|
|||||||
Generated
+666
-1028
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user