Skip to content

Commit 0552782

Browse files
committed
fix publish
1 parent 180b081 commit 0552782

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/publish.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,12 @@ jobs:
3232
run: |
3333
TAG=${GITHUB_REF#refs/tags/}
3434
jq --arg version "$TAG" '.version = $version' package.json > tmp.$$.json && mv tmp.$$.json package.json
35+
- name: Compile typescript
36+
run: yarn build
3537
- uses: JS-DevTools/npm-publish@v3
3638
with:
3739
token: ${{ secrets.NPM_TOKEN }}
3840

39-
- name: Compile typescript
40-
run: yarn build
41-
4241
- name: Create a Release
4342
uses: elgohr/Github-Release-Action@v5
4443
env:

0 commit comments

Comments
 (0)