mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-02-21 03:02:59 +00:00
CI: update cache actions to Node 20
This commit is contained in:
14
.github/workflows/tests.yml
vendored
14
.github/workflows/tests.yml
vendored
@@ -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
|
||||
@@ -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
|
||||
@@ -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: |
|
||||
@@ -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 }}
|
||||
@@ -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: |
|
||||
@@ -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: |
|
||||
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user