Skip to content

Commit ea5b51e

Browse files
committed
ci: update to actions/setup-node@v5
1 parent 3ec0e8f commit ea5b51e

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

.github/workflows/CI.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,10 @@ jobs:
1212
- name: Checkout
1313
uses: actions/checkout@v5
1414
- name: Use Node.js ${{matrix.node-version}}
15-
uses: actions/setup-node@v1
15+
uses: actions/setup-node@v5
1616
with:
1717
node-version: ${{matrix.node-version}}
18-
- name: Cache Node.js modules
19-
uses: actions/cache@v2
20-
with:
21-
# npm cache files are stored in `~/.npm` on Linux/macOS
22-
path: ~/.npm
23-
key: ${{ runner.OS }}-node-${{matrix.node-version}}-${{ hashFiles('**/package-lock.json') }}
24-
restore-keys: |
25-
${{ runner.OS }}-node-${{matrix.node-version}}-
26-
${{ runner.OS }}-node-
27-
${{ runner.OS }}-
18+
cache: 'npm'
2819
- name: Install dependencies
2920
run: npm ci
3021
- name: Build

0 commit comments

Comments
 (0)