mirror of
https://github.com/konpa/devicon.git
synced 2025-01-18 05:58:13 +01:00
update actions/setup-node
fix npm publish workflow
This commit is contained in:
parent
b7a4cc6c82
commit
8a216cd40e
6
.github/workflows/npm_publish.yml
vendored
6
.github/workflows/npm_publish.yml
vendored
@ -12,10 +12,10 @@ jobs:
|
||||
# "ref" specifies the branch to check out.
|
||||
# "github.event.release.target_commitish" is a global variable and specifies the branch the release targeted
|
||||
ref: ${{ github.event.release.target_commitish }}
|
||||
- name: Use Node.js 12
|
||||
uses: actions/setup-node@v1
|
||||
- name: Use Node.js v16
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 16
|
||||
registry-url: https://registry.npmjs.org/ # Specifies the registry, this field is required!
|
||||
- run: npm ci
|
||||
- run: npm publish
|
||||
|
Loading…
x
Reference in New Issue
Block a user