repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix npm ci with latest node.js version
[poolifier.git]
/
.github
/
workflows
/
npmpublish.yml
diff --git
a/.github/workflows/npmpublish.yml
b/.github/workflows/npmpublish.yml
index a2f85f19362693f3ff290cf2266f1584703b35bf..cc9523aba15515b50ce59f85a170256236a24aa4 100644
(file)
--- a/
.github/workflows/npmpublish.yml
+++ b/
.github/workflows/npmpublish.yml
@@
-10,12
+10,12
@@
jobs:
steps:
- name: Checkout
steps:
- name: Checkout
- uses: actions/checkout@v
2
+ uses: actions/checkout@v
3
- name: Setup Node
- name: Setup Node
- uses: actions/setup-node@v
2
+ uses: actions/setup-node@v
3
with:
with:
- node-version:
14
+ node-version:
'16.x'
- name: Install
run: npm ci
- name: Install
run: npm ci
@@
-39,12
+39,12
@@
jobs:
steps:
- name: Checkout
steps:
- name: Checkout
- uses: actions/checkout@v
2
+ uses: actions/checkout@v
3
- name: Setup Node
- name: Setup Node
- uses: actions/setup-node@v
2
+ uses: actions/setup-node@v
3
with:
with:
- node-version:
14
+ node-version:
'16.x'
registry-url: https://registry.npmjs.org/
- name: Read package.json version
registry-url: https://registry.npmjs.org/
- name: Read package.json version
@@
-58,10
+58,10
@@
jobs:
if: ${{ contains(steps.package-version.outputs.version, '-') == false }}
run: npm publish
env:
if: ${{ contains(steps.package-version.outputs.version, '-') == false }}
run: npm publish
env:
- NODE_AUTH_TOKEN: ${{
secrets.npm_token
}}
+ NODE_AUTH_TOKEN: ${{
secrets.NPM_TOKEN
}}
- name: Publish Beta
if: ${{ contains(steps.package-version.outputs.version, 'beta') }}
run: npm publish --tag beta
env:
- name: Publish Beta
if: ${{ contains(steps.package-version.outputs.version, 'beta') }}
run: npm publish --tag beta
env:
- NODE_AUTH_TOKEN: ${{
secrets.npm_token
}}
+ NODE_AUTH_TOKEN: ${{
secrets.NPM_TOKEN
}}