Skip to content

Commit 76993f5

Browse files
authored
Fix: publish bug (#330)
1 parent 9bcc482 commit 76993f5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v1
13+
with:
14+
node-version: 12
15+
registry-url: https://registry.npmjs.org/
1216
- name: Install dependencies
1317
run: yarn install
1418
- name: Build
@@ -18,5 +22,4 @@ jobs:
1822
- name: Publish
1923
run: npm publish .
2024
env:
21-
NPM_REGISTRY_URL: https://registry.npmjs.org
2225
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)