Skip to content

Commit 9320537

Browse files
committed
update workflow actions
1 parent 72083f0 commit 9320537

1 file changed

Lines changed: 18 additions & 19 deletions

File tree

‎.github/workflows/build-sdk.yml‎

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,28 @@ on:
44
pull_request:
55
push:
66
branches:
7-
- master
7+
- master
88

99
jobs:
1010
Build:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
15-
- uses: actions/setup-node@v2
16-
with:
17-
node-version: 16
18-
cache: npm
19-
- uses: actions/cache@v3
20-
with:
21-
path: node_modules
22-
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
23-
restore-keys: |
24-
${{ runner.os }}-node-
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: 16
18+
cache: npm
19+
- uses: actions/cache@v4
20+
with:
21+
path: node_modules
22+
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
23+
restore-keys: |
24+
${{ runner.os }}-node-
2525
26-
27-
- run: npm install
28-
- run: npm run prettier -- --check
29-
- run: npm run lint
30-
- run: npm run build
31-
- run: npm run test
32-
- run: npm run spellcheck
26+
- run: npm install
27+
- run: npm run prettier -- --check
28+
- run: npm run lint
29+
- run: npm run build
30+
- run: npm run test
31+
- run: npm run spellcheck

0 commit comments

Comments
 (0)