Skip to content

Commit f3f16e8

Browse files
committed
Update github actions
1 parent 47a6c69 commit f3f16e8

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/main.yml

+4-12
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,14 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node: [14, 16, 18]
14+
node: [18, 20, 22]
1515
name: "Lint & Test (Node ${{ matrix.node }})"
1616
steps:
17-
- uses: actions/checkout@v2
18-
- name: Setup node
19-
uses: actions/setup-node@v2
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
2019
with:
2120
node-version: ${{ matrix.node }}
22-
23-
- uses: actions/cache@v2
24-
with:
25-
path: ~/.npm
26-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
27-
restore-keys: |
28-
${{ runner.os }}-node-
29-
21+
cache: 'npm'
3022
- run: npm install
3123
- run: npm run lint
3224
- run: npm run test

0 commit comments

Comments
 (0)