Skip to content

Commit 00e987b

Browse files
committed
调试 workflow actions
1 parent 828b2f4 commit 00e987b

File tree

2 files changed

+18
-14
lines changed

2 files changed

+18
-14
lines changed

.github/workflows/dev-check.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ jobs:
1111
with:
1212
cache: 'npm'
1313
node-version: 16
14-
- run: npm install
15-
- run: npm run boot
16-
- run: npm run lint
14+
- run: |
15+
npm install
16+
npm run boot
17+
npm run lint
1718
test:
1819
runs-on: ubuntu-latest
1920
steps:
@@ -22,9 +23,10 @@ jobs:
2223
with:
2324
cache: 'npm'
2425
node-version: 16
25-
- run: npm install
26-
- run: npm run boot
27-
- run: npm run test
26+
- run: |
27+
npm install
28+
npm run boot
29+
npm run test
2830
build:
2931
runs-on: ubuntu-latest
3032
steps:
@@ -33,6 +35,7 @@ jobs:
3335
with:
3436
cache: 'npm'
3537
node-version: 16
36-
- run: npm install
37-
- run: npm run boot
38-
- run: npm run build
38+
- run: |
39+
npm install
40+
npm run boot
41+
npm run build

.github/workflows/npm-publish.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ jobs:
1313
with:
1414
node-version: 16
1515
registry-url: https://registry.npmjs.org/
16-
- run: npm install
17-
- run: npm run boot
18-
- run: npm run build
19-
- run: cd packages/qiniu-js/
20-
- run: npm publish
16+
- run: |
17+
npm install
18+
npm run boot
19+
npm run build
20+
cd packages/qiniu-js/
21+
npm publish
2122
env:
2223
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)