ci(PublishDev): use node v16

This commit is contained in:
dk 2021-08-05 14:56:13 +05:45 committed by GitHub
parent 1a7c6b08e2
commit da9d944e89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,10 +13,10 @@ jobs:
with: with:
ref: v5 ref: v5
- name: Install Node v14 - name: Install Node v16
uses: actions/setup-node@v2 uses: actions/setup-node@v2
with: with:
node-version: 14 node-version: 16
registry-url: https://registry.npmjs.org/ registry-url: https://registry.npmjs.org/
- name: Install dependencies - name: Install dependencies
@ -30,7 +30,7 @@ jobs:
- name: Publish - name: Publish
run: | run: |
npx tsc --skipLibCheck npx tsc --skipLibCheck
npm version --git-tag-version=false $(jq --raw-output '.version' package.json).$(git rev-parse --short HEAD).$(date +%s) npm version --git-tag-version=false $(jq --raw-output '.version' package.json).$(date +%s).$(git rev-parse --short HEAD)
npm publish --tag dev || true npm publish --tag dev || true
env: env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }} NODE_AUTH_TOKEN: ${{ secrets.npm_token }}