Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ jobs:
with:
node-version-file: '.nvmrc'
- run: corepack enable
- uses: actions/cache@v5
- uses: actions/cache@v6
id: deps-cache
with:
path: |
node_modules
.yarn
key: deps-${{ runner.os }}-node${{ hashFiles('.nvmrc') }}-${{ hashFiles('yarn.lock') }}
restore-keys: deps-${{ runner.os }}-node${{ hashFiles('.nvmrc') }}-
- uses: actions/cache@v5
- uses: actions/cache@v6
if: steps.deps-cache.outputs.cache-hit != 'true'
with:
# Scope to corepack's download dir only (~/.cache/node holds the Yarn release).
Expand All @@ -76,7 +76,7 @@ jobs:
# broke master.) Keying this cache by yarn.lock means a bump forces a fresh save; the
# `cypress install` step below downloads the resolved version into it. restore-keys lets
# an unrelated lockfile change reuse the previous binary so install no-ops.
- uses: actions/cache@v5
- uses: actions/cache@v6
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
with:
node-version-file: '.nvmrc'
- run: corepack enable
- uses: actions/cache/restore@v5
- uses: actions/cache/restore@v6
with:
path: |
node_modules
Expand All @@ -151,7 +151,7 @@ jobs:
with:
node-version-file: '.nvmrc'
- run: corepack enable
- uses: actions/cache/restore@v5
- uses: actions/cache/restore@v6
with:
path: |
node_modules
Expand All @@ -160,7 +160,7 @@ jobs:
fail-on-cache-miss: true
# Restore the Cypress binary saved by the build job (same key). e2e tests (yarn e2e)
# launch Cypress, which needs its binary present in ~/.cache/Cypress.
- uses: actions/cache/restore@v5
- uses: actions/cache/restore@v6
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
- run: corepack enable
- uses: actions/cache/restore@v5
- uses: actions/cache/restore@v6
with:
path: |
node_modules
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
token: ${{ secrets.GH_PERSONAL_TOKEN }}
fetch-depth: 0

- uses: actions/cache@v5
- uses: actions/cache@v6
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ~/.cache # Default cache directory for both Yarn and Cypress
Expand Down
Loading