Skip to content

Commit 2ade5a3

Browse files
authored
Update npm-publish.yml
1 parent 7924c08 commit 2ade5a3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@ jobs:
1515
- uses: actions/checkout@v3
1616
- uses: actions/setup-node@v3
1717
with:
18-
registry-url: https://registry.npmjs.org/
19-
node-version: 16
20-
cache: 'yarn'
21-
- run: yarn
18+
node-version: 18
19+
cache: 'npm'
20+
- run: npm i
2221
- run: npm run build
23-
- run: ls dist
2422
- run: npm publish
2523
env:
2624
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)