Skip to content

Commit ef94ffd

Browse files
fix: npm publish (#86)
add setup-node action to configure registry url and node version
1 parent 8c3a72a commit ef94ffd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ jobs:
99
name: "Default"
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: '18.x'
16+
registry-url: 'https://registry.npmjs.org'
1317
- name: Default
1418
run: |
1519
npm install

0 commit comments

Comments
 (0)