Skip to content

Commit 6840700

Browse files
authored
CI: update actions (#59)
* CI: update actions * CI: Add Node.js 22 * CI: add cache npm
1 parent 7a65af8 commit 6840700

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,19 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
os: [ubuntu-latest, windows-latest]
23-
node: [16, 18, 20]
23+
node: [16, 18, 20, 22]
2424

2525
steps:
2626
- name: Clone repository
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828
with:
2929
persist-credentials: false
3030

3131
- name: Set up Node.js
32-
uses: actions/setup-node@v3
32+
uses: actions/setup-node@v4
3333
with:
3434
node-version: ${{ matrix.node }}
35+
cache: npm
3536

3637
- name: Install npm dependencies
3738
run: npm ci

0 commit comments

Comments
 (0)