Skip to content

Commit 154d550

Browse files
committed
update build workflow [skip ci]
1 parent 2a5e963 commit 154d550

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ jobs:
1616
- run: yarn test
1717
- run: yarn build
1818
- run: yarn pack --filename=release.tgz
19-
- uses: Klemensas/action-autotag@stable
20-
id: update_tag
21-
with:
22-
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
23-
tag_prefix: "v"
2419
- name: Publish on NPM
2520
if: "!contains(github.event.head_commit.message, '[skip publish]')"
2621
uses: JS-DevTools/npm-publish@v1
2722
with:
2823
package: build/package.json
2924
token: "${{ secrets.NPM_TOKEN }}"
25+
- uses: Klemensas/action-autotag@stable
26+
id: update_tag
27+
with:
28+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
29+
tag_prefix: "v"
3030
- name: Create Release
3131
if: "!contains(github.event.head_commit.message, '[skip publish]') && steps.update_tag.outputs.tagname"
3232
uses: actions/create-release@v1

0 commit comments

Comments
 (0)