Skip to content

Commit 6726471

Browse files
committed
chore: fix publish npm package workflow
1 parent c20d3de commit 6726471

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.github/workflows/publish.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
on:
22
release:
33
types: [created]
4+
workflow_dispatch:
45
name: publish
56
jobs:
67
publish-to-npm:
@@ -9,12 +10,15 @@ jobs:
910
- uses: actions/checkout@v3
1011
- uses: actions/setup-node@v3
1112
with:
12-
node-version: 14
13+
node-version: '16.x'
14+
- run: npm install
15+
- run: npm run build
16+
- uses: actions/setup-node@v3
17+
with:
18+
node-version: '16.x'
1319
registry-url: 'https://wombat-dressing-room.appspot.com'
14-
- id: publish
15-
env:
16-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
17-
run: |
18-
npm install
19-
npm run build
20-
npm publish
20+
# - id: publish
21+
# env:
22+
# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
23+
# run:
24+
# npm publish

0 commit comments

Comments
 (0)