Skip to content

Commit 8a216cd

Browse files
authored
update actions/setup-node
fix npm publish workflow
1 parent b7a4cc6 commit 8a216cd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/npm_publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
# "ref" specifies the branch to check out.
1313
# "github.event.release.target_commitish" is a global variable and specifies the branch the release targeted
1414
ref: ${{ github.event.release.target_commitish }}
15-
- name: Use Node.js 12
16-
uses: actions/setup-node@v1
15+
- name: Use Node.js v16
16+
uses: actions/setup-node@v2
1717
with:
18-
node-version: 12
18+
node-version: 16
1919
registry-url: https://registry.npmjs.org/ # Specifies the registry, this field is required!
2020
- run: npm ci
2121
- run: npm publish

0 commit comments

Comments
 (0)