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:
ref: v5
- name: Install Node v14
- name: Install Node v16
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
registry-url: https://registry.npmjs.org/
- name: Install dependencies
@ -30,7 +30,7 @@ jobs:
- name: Publish
run: |
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
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}