Skip to content

Commit 5d33d01

Browse files
authored
Update npm-publish.yml
1 parent 69e4d3a commit 5d33d01

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
- uses: actions/setup-node@v3
1616
with:
1717
node-version: 16
18-
- run: npm i
19-
- run: npm test
18+
- run: npm i --force
19+
- run: npm run build
2020

2121
publish-npm:
2222
needs: build
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
node-version: 16
2929
registry-url: https://registry.npmjs.org/
30-
- run: npm i
30+
- run: ls dist
3131
- run: npm publish
3232
env:
3333
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)