ci: fix cypress

This commit is contained in:
Guillaume Chau 2025-03-11 14:23:08 +01:00
parent 35fb59c57c
commit df96345bf9
5 changed files with 704 additions and 1030 deletions

View File

@ -26,12 +26,21 @@ jobs:
- name: Set alternate npm integrity keys
run: |
echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')" >> $GITHUB_ENV
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 23
cache: pnpm
- uses: actions/cache@v4
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
- run: pnpm install
- name: Build

View File

@ -26,12 +26,21 @@ jobs:
- name: Set alternate npm integrity keys
run: |
echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')" >> $GITHUB_ENV
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 23
cache: pnpm
- uses: actions/cache@v4
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
- run: pnpm install
- name: Build

View File

@ -26,12 +26,21 @@ jobs:
- name: Set alternate npm integrity keys
run: |
echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')" >> $GITHUB_ENV
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 23
cache: pnpm
- uses: actions/cache@v4
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
- run: pnpm install
- name: Build

View File

@ -2,7 +2,7 @@
"name": "vue-apollo-monorepo",
"version": "4.2.1",
"private": true,
"packageManager": "pnpm@10.6.1+sha512.40ee09af407fa9fbb5fbfb8e1cb40fbb74c0af0c3e10e9224d7b53c7658528615b2c92450e74cfad91e3a2dcafe3ce4050d80bda71d757756d2ce2b66213e9a3",
"packageManager": "pnpm@10.6.2+sha512.47870716bea1572b53df34ad8647b42962bc790ce2bf4562ba0f643237d7302a3d6a8ecef9e4bdfc01d23af1969aa90485d4cebb0b9638fa5ef1daef656f6c1b",
"scripts": {
"build": "pnpm run -r --filter \"vue-apollo*\" --filter \"@vue/apollo*\" build",
"test": "pnpm run -r --sequential test",
@ -50,7 +50,16 @@
"esbuild": "*",
"vue": "*"
}
}
},
"onlyBuiltDependencies": [
"@apollo/protobufjs",
"core-js",
"core-js-pure",
"cypress",
"esbuild",
"nodemon",
"vue-demi"
]
},
"resolutions": {
"js-yaml": "^3.13.1"

1694
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff