From 9c986348270dd00dd1e4232b927942051b2a6f16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20Gonz=C3=A1lez=20Garz=C3=B3n?= Date: Mon, 4 Nov 2024 02:24:26 -0500 Subject: [PATCH] Actualizar versiones de node. --- .github/workflows/node.js.yml | 6 +++--- .github/workflows/publish.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index cba0f10..da2301a 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,11 +16,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Use Node.js 16 + - name: Use Node.js 22 uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 22 cache: 'npm' - - run: npm ci --legacy-peer-deps + - run: npm ci --force - run: npm run build --if-present - run: npm test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d966e83..528e79d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x] + node-version: [20.x, 22.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ os: [ubuntu-latest, windows-latest, macOS-latest] @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 22 registry-url: https://registry.npmjs.org/ - run: npm ci --legacy-peer-deps - run: npm run build --if-present