Skip to content

Commit 8ccca11

Browse files
committed
feat: bump github actions version
1 parent e43c076 commit 8ccca11

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# From: https://github.com/wechat-miniprogram/api-typings/blob/2222854ee4d122206d722ccb8672d5cc11a73239/.github/workflows/test.yml
1+
# From: https://github.com/wechat-miniprogram/api-typings/blob/9c691dd47158d9a029a68105c2378a3668874cf4/.github/workflows/test.yml
22
# Author: Mr.Hope <[email protected]>
33
name: Test
44

@@ -11,20 +11,20 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
1515
with:
1616
persist-credentials: false
1717

1818
- name: restore node modules
19-
uses: actions/cache@v2
19+
uses: actions/cache@v4
2020
id: node-modules-cache
2121
with:
2222
path: node_modules
2323
key: ${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }}
2424

2525
- name: Install Deps
2626
if: steps.node-modules-cache.outputs.cache-hit != 'true'
27-
run: npm install
27+
run: npm ci
2828

2929
- name: Run test
3030
run: npm run test

0 commit comments

Comments
 (0)