chore: update Node.js version to 22 and upgrade undici dependency

This commit is contained in:
diegosouzapw 2026-04-13 19:11:07 -03:00
parent 5fa5be2136
commit 44e4ae2d94
3 changed files with 18 additions and 14 deletions

View file

@ -134,14 +134,11 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
node-version: 22
cache: npm
- run: npm ci
- run: npm run build
@ -151,9 +148,6 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
needs: build
strategy:
matrix:
node-version: [20, 22]
env:
JWT_SECRET: ci-test-secret-with-sufficient-length-for-validation
API_KEY_SECRET: ci-test-api-key-secret-long
@ -161,7 +155,7 @@ jobs:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
node-version: 22
cache: npm
- run: npm ci
- run: npm run test:unit