Skip to content

Commit 5f0ff94

Browse files
committed
ci: fix
1 parent 1745c6e commit 5f0ff94

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build Demo, Deploy to Github Pages, Publish to NPM, Release with Changelog
1+
name: Release with Changelog, Build Demo, Deploy to Github Pages, Publish to NPM
22
# concat workflows because it is not easy to run trigger multiple. https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow
33
permissions:
44
contents: write
@@ -24,6 +24,11 @@ jobs:
2424
- name: Install
2525
run: npm install
2626

27+
- name: Release with Changelog
28+
run: npx changelogithub # or [email protected] if ensure the stable result
29+
env:
30+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
31+
2732
- name: Build Demo
2833
run: npm run build:web
2934

@@ -53,7 +58,3 @@ jobs:
5358
- run: npm publish
5459
env:
5560
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
56-
- name: Release with Changelog
57-
run: npx changelogithub # or [email protected] if ensure the stable result
58-
env:
59-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)