Skip to content

Commit 61430db

Browse files
chore: Fix publish command
1 parent 6c5668b commit 61430db

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish-package.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Publish Package to npmjs
22
on:
33
release:
44
types: [published]
5+
workflow_dispatch:
56
jobs:
67
build:
78
runs-on: ubuntu-latest
@@ -17,7 +18,8 @@ jobs:
1718
registry-url: 'https://registry.npmjs.org'
1819
- run: npm ci
1920
- run: npm run package
20-
- run: cd build/package
21-
- run: npm publish --provenance --access public
21+
- run: |
22+
cd build/package
23+
npm publish --provenance --access public
2224
env:
2325
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)