File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 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
2
2
# Author: Mr.Hope <[email protected] >
3
3
name : Test
4
4
@@ -11,20 +11,20 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- name : Checkout
14
- uses : actions/checkout@v2
14
+ uses : actions/checkout@v4
15
15
with :
16
16
persist-credentials : false
17
17
18
18
- name : restore node modules
19
- uses : actions/cache@v2
19
+ uses : actions/cache@v4
20
20
id : node-modules-cache
21
21
with :
22
22
path : node_modules
23
23
key : ${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }}
24
24
25
25
- name : Install Deps
26
26
if : steps.node-modules-cache.outputs.cache-hit != 'true'
27
- run : npm install
27
+ run : npm ci
28
28
29
29
- name : Run test
30
30
run : npm run test
You can’t perform that action at this time.
0 commit comments