We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47a6c69 commit f3f16e8Copy full SHA for f3f16e8
.github/workflows/main.yml
@@ -11,22 +11,14 @@ jobs:
11
runs-on: ubuntu-latest
12
strategy:
13
matrix:
14
- node: [14, 16, 18]
+ node: [18, 20, 22]
15
name: "Lint & Test (Node ${{ matrix.node }})"
16
steps:
17
- - uses: actions/checkout@v2
18
- - name: Setup node
19
- uses: actions/setup-node@v2
+ - uses: actions/checkout@v4
+ - uses: actions/setup-node@v4
20
with:
21
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
+ cache: 'npm'
30
- run: npm install
31
- run: npm run lint
32
- run: npm run test
0 commit comments