Skip to content

Commit ab88445

Browse files
authored
Update npm-publish.yml
1 parent 93969f8 commit ab88445

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ jobs:
1616
- run: npm run build
1717

1818
publish-npm:
19-
needs: build
2019
runs-on: ubuntu-latest
2120
steps:
2221
- uses: actions/checkout@v3
2322
- uses: actions/setup-node@v3
2423
with:
2524
node-version: 18
2625
registry-url: https://registry.npmjs.org/
26+
- run: npm i
27+
- run: npm run build
2728
- run: npm publish
2829
env:
2930
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)