Skip to content

Commit 8aeb3a9

Browse files
committed
ci: action .yml perfect.
1 parent 0ba7301 commit 8aeb3a9

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.github/workflows/bump-version.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ jobs:
3030
with:
3131
node-version: 12
3232
registry-url: https://registry.npmjs.org/
33-
- run: npm ci
34-
- run: npm publish
33+
34+
- name: Publish
35+
run: |
36+
npm ci
37+
npm publish
3538
env:
3639
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3740

@@ -47,7 +50,10 @@ jobs:
4750
with:
4851
node-version: 12
4952
registry-url: https://npm.pkg.github.com/
50-
- run: npm ci
51-
- run: npm publish
53+
54+
- name: Publish
55+
run: |
56+
npm ci
57+
npm publish
5258
env:
53-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs:
2424
github_token: ${{ secrets.GITHUB_TOKEN }}
2525
publish_dir: ./example-dist
2626
user_name: ${{ secrets.CI_NAME }}
27-
user_email: ${{ secrets.CI_EMAIL }}
27+
user_email: ${{ secrets.CI_EMAIL }}

0 commit comments

Comments
 (0)