Skip to content

Commit 04e19e1

Browse files
committed
fix: run docs after release otherwise version number is always wrong
1 parent 105f892 commit 04e19e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: .github/workflows/js-test-and-release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ jobs:
140140
with:
141141
docker-token: ${{ secrets.DOCKER_TOKEN }}
142142
docker-username: ${{ secrets.DOCKER_USERNAME }}
143-
- run: npm run --if-present docs
144-
env:
145-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
146143
- run: npm run --if-present release
147144
env:
148145
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
149146
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
147+
- run: npm run --if-present docs
148+
env:
149+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)