bump node version

This commit is contained in:
Rodrigo Fernandes 2024-12-23 22:52:07 +00:00
parent 2f8c477f66
commit 2f4f41a31d
No known key found for this signature in database

View file

@ -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: