Skip to content

Commit

Permalink
CI: update cache actions to Node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
larabr committed May 2, 2024
1 parent f3f1ab9 commit 7e2ea3f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-node@v4
- name: Check for cached folders
id: cache-full
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
dist
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci --ignore-scripts # for mocha
- name: Retrieve cached folders
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-full
with:
# test/lib is not needed, but the path must be specified fully for a cache-hit
Expand All @@ -65,7 +65,7 @@ jobs:
- uses: actions/setup-node@v4

- name: Retrieve cached built folders
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-full
with:
path: |
Expand All @@ -86,7 +86,7 @@ jobs:
echo "version=$PLAYWRIGHT_VERSION" >> $GITHUB_OUTPUT
- name: Check for cached browsers
id: cache-playwright-browsers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: playwright-browsers-${{ steps.playwright-version.outputs.version }}
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
run: npm ci --ignore-scripts

- name: Retrieve cached dist folder
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-full
with:
path: |
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
- uses: actions/setup-node@v4
- run: npm ci --ignore-scripts # TS
- name: Retrieve cached folders
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-full
with:
path: |
Expand All @@ -177,7 +177,7 @@ jobs:
- uses: actions/setup-node@v4
- run: npm ci --ignore-scripts # linter
- name: Retrieve cached folders
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-full
with:
path: |
Expand Down

0 comments on commit 7e2ea3f

Please sign in to comment.