npm-publish: update to use the latest TLS v14

node v12 is in maintenance mode
node v16 (next TLS) is not ready yet
This commit is contained in:
rui
2021-06-21 13:29:17 -04:00
committed by GitHub
parent 0dd0ee5676
commit 89dcaaf2de
+3 -3
View File
@@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: 14
- run: npm ci
- run: npm test
@@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: 14
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
@@ -42,7 +42,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: 14
registry-url: $registry-url(npm)
- run: npm ci
- run: npm publish