ci(PublishDev): use node v16
This commit is contained in:
parent
1a7c6b08e2
commit
da9d944e89
1 changed files with 3 additions and 3 deletions
6
.github/workflows/publish-dev.yml
vendored
6
.github/workflows/publish-dev.yml
vendored
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue