Skip to content

Commit 19e083d

Browse files
committed
chore: update .github/workflows/ci.yml
1 parent 674f386 commit 19e083d

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ on:
33
push:
44
branches:
55
- master
6-
tags:
7-
- v2.*
6+
87
env:
98
SKIP_PREFLIGHT_CHECK: true
109

@@ -14,11 +13,11 @@ jobs:
1413
steps:
1514
- uses: actions/checkout@v2
1615
- name: Look Changelog
17-
uses: jaywcjlove/[email protected].3
16+
uses: jaywcjlove/[email protected].6
1817
with:
1918
token: ${{ secrets.GITHUB_TOKEN }}
2019
head-ref: ${{steps.create_tag.outputs.version}}
21-
filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot)
20+
filter-author: (小弟调调™|Renovate Bot)
2221
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
2322

2423
- uses: actions/setup-node@v2
@@ -38,18 +37,18 @@ jobs:
3837

3938
- name: Create Tag
4039
id: create_tag
41-
uses: jaywcjlove/[email protected].0
40+
uses: jaywcjlove/[email protected].1
4241
with:
4342
token: ${{ secrets.GITHUB_TOKEN }}
4443
package-path: ./package.json
4544

4645
- name: Generate Changelog
4746
id: changelog
48-
uses: jaywcjlove/[email protected].3
47+
uses: jaywcjlove/[email protected].6
4948
with:
5049
token: ${{ secrets.GITHUB_TOKEN }}
5150
head-ref: ${{steps.create_tag.outputs.version}}
52-
filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot)
51+
filter-author: (小弟调调™|Renovate Bot)
5352
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
5453

5554
- name: Create Release
@@ -67,9 +66,11 @@ jobs:
6766
```
6867
6968
${{ steps.changelog.outputs.compareurl }}
69+
7070
${{ steps.changelog.outputs.changelog }}
7171
72-
# - run: npm install @jsdevtools/npm-publish -g
72+
- run: npm install @jsdevtools/npm-publish -g
73+
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
7374
# - run: npm-publish --token="${{ secrets.NPM_TOKEN }}" --tag="next" ./package.json
7475

7576
- name: Coveralls

0 commit comments

Comments
 (0)