bump node version
This commit is contained in:
parent
2f8c477f66
commit
2f4f41a31d
1 changed files with 29 additions and 29 deletions
10
.github/workflows/test-and-publish.yml
vendored
10
.github/workflows/test-and-publish.yml
vendored
|
|
@ -52,7 +52,7 @@ jobs:
|
||||||
needs: [version]
|
needs: [version]
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [16.x, 18.x, 20.x]
|
node-version: [16.x, 18.x, 20.x, 22.x]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
|
@ -94,14 +94,14 @@ jobs:
|
||||||
- name: Tag commit
|
- name: Tag commit
|
||||||
uses: tvdias/github-tagger@v0.0.1
|
uses: tvdias/github-tagger@v0.0.1
|
||||||
with:
|
with:
|
||||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
tag: "${{ env.version }}"
|
tag: '${{ env.version }}'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
node-version: '18.x'
|
node-version: '22.x'
|
||||||
- name: Configure NPM version
|
- name: Configure NPM version
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
@ -120,7 +120,7 @@ jobs:
|
||||||
run: npm publish --tag $(cat publish-tag.txt)
|
run: npm publish --tag $(cat publish-tag.txt)
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '18.x'
|
node-version: '22.x'
|
||||||
registry-url: 'https://npm.pkg.github.com'
|
registry-url: 'https://npm.pkg.github.com'
|
||||||
- name: Configure NPM version
|
- name: Configure NPM version
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue