Skip to content

Commit 3b301ed

Browse files
committed
Update GitHub action
1 parent 5929519 commit 3b301ed

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/ci.yml

+3-9
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,12 @@ jobs:
1717

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121
- name: Use Node.js ${{ matrix.node-version }}
22-
uses: actions/setup-node@v1
22+
uses: actions/setup-node@v4
2323
with:
2424
node-version: ${{ matrix.node-version }}
25-
- name: Cache modules
26-
uses: actions/cache@v2
27-
with:
28-
path: ~/.npm
29-
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
30-
restore-keys: |
31-
${{ runner.os }}-node-
25+
cache: 'npm'
3226
- name: Install
3327
run: npm ci
3428
env:

0 commit comments

Comments
 (0)