Skip to content

Commit 62c3e42

Browse files
committed
ci: update actions
1 parent 75cc781 commit 62c3e42

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,17 @@ jobs:
66
strategy:
77
matrix:
88
os: [ ubuntu-latest ]
9-
node-version: [ 18 ]
109

1110
runs-on: ${{ matrix.os }}
1211

1312
steps:
1413
- name: Checkout
15-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
1615
- name: Use Node.js
17-
uses: actions/setup-node@v2
16+
uses: actions/setup-node@v4
1817
with:
19-
node-version: ${{ matrix.node-version }}
20-
- name: Cache Node.js modules
21-
uses: actions/cache@v2
22-
with:
23-
# npm cache files are stored in `~/.npm` on Linux/macOS
24-
path: ~/.npm
25-
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
26-
restore-keys: |
27-
${{ runner.OS }}-node-
28-
${{ runner.OS }}-
18+
node-version: 20
19+
cache: 'npm'
2920
- name: Install dependencies
3021
run: npm ci
3122
- name: Setup project

0 commit comments

Comments
 (0)