mirror of
https://github.com/konpa/devicon.git
synced 2025-08-06 06:37:48 +02:00
update actions/setup-node
fix npm publish workflow
This commit is contained in:
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.
|
# "ref" specifies the branch to check out.
|
||||||
# "github.event.release.target_commitish" is a global variable and specifies the branch the release targeted
|
# "github.event.release.target_commitish" is a global variable and specifies the branch the release targeted
|
||||||
ref: ${{ github.event.release.target_commitish }}
|
ref: ${{ github.event.release.target_commitish }}
|
||||||
- name: Use Node.js 12
|
- name: Use Node.js v16
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: 16
|
||||||
registry-url: https://registry.npmjs.org/ # Specifies the registry, this field is required!
|
registry-url: https://registry.npmjs.org/ # Specifies the registry, this field is required!
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm publish
|
- run: npm publish
|
||||||
|
Reference in New Issue
Block a user