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]
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16.x, 18.x, 20.x]
|
||||
node-version: [16.x, 18.x, 20.x, 22.x]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
|
|
@ -94,14 +94,14 @@ jobs:
|
|||
- name: Tag commit
|
||||
uses: tvdias/github-tagger@v0.0.1
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
tag: "${{ env.version }}"
|
||||
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
tag: '${{ env.version }}'
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
node-version: '18.x'
|
||||
node-version: '22.x'
|
||||
- name: Configure NPM version
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
|
@ -120,7 +120,7 @@ jobs:
|
|||
run: npm publish --tag $(cat publish-tag.txt)
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '18.x'
|
||||
node-version: '22.x'
|
||||
registry-url: 'https://npm.pkg.github.com'
|
||||
- name: Configure NPM version
|
||||
env:
|
||||
|
|
|
|||
Loading…
Reference in a new issue