1
0
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:
Clemens Bastian
2022-03-22 20:36:48 +01:00
committed by GitHub
parent b7a4cc6c82
commit 8a216cd40e

View File

@@ -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