Skip to content

Commit b2dafc9

Browse files
authored
Update github workflows.
1 parent a9bbc65 commit b2dafc9

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/test.yaml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ jobs:
1313
strategy:
1414
matrix:
1515
node-version:
16-
- 14.x
17-
- 16.x
16+
- 18.x
17+
- 20.x
18+
- 22.x
1819
steps:
19-
- uses: actions/checkout@v1
20-
- uses: actions/setup-node@v1
20+
- uses: actions/checkout@v3
21+
- uses: actions/setup-node@v3
2122
with:
2223
node-version: ${{ matrix.node-version }}
2324

2425
- name: Cache npm
25-
uses: actions/cache@v1
26+
uses: actions/cache@v4
2627
with:
2728
path: ~/.npm
2829
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
@@ -36,16 +37,17 @@ jobs:
3637
strategy:
3738
matrix:
3839
node-version:
39-
- 14.x
40-
- 16.x
40+
- 18.x
41+
- 20.x
42+
- 22.x
4143
steps:
42-
- uses: actions/checkout@v1
43-
- uses: actions/setup-node@v1
44+
- uses: actions/checkout@v3
45+
- uses: actions/setup-node@v3
4446
with:
4547
node-version: ${{ matrix.node-version }}
4648

4749
- name: Cache npm
48-
uses: actions/cache@v1
50+
uses: actions/cache@v4
4951
with:
5052
path: ~/.npm
5153
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}

0 commit comments

Comments
 (0)