From 3a138a6c4389f3fea702174ae0595f38a7e99ed8 Mon Sep 17 00:00:00 2001 From: Anton Date: Sun, 25 Aug 2024 00:07:56 +0200 Subject: [PATCH] ci(deps): use rolling node versions --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- .github/workflows/sanity.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2755e99c..f8e3883a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,13 +15,13 @@ jobs: strategy: fail-fast: false matrix: - node: [20, 22] + node: [lts/-1, lts/*] os: [ubuntu-latest, macOS-latest, windows-latest] steps: - uses: actions/checkout@v2 - name: Use node ${{ matrix.node }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} registry-url: https://registry.npmjs.org diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 620ea62c..cf909b0f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,9 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: lts/* registry-url: https://registry.npmjs.org - name: install run: npm ci diff --git a/.github/workflows/sanity.yml b/.github/workflows/sanity.yml index 8418b186..8f0a8afa 100644 --- a/.github/workflows/sanity.yml +++ b/.github/workflows/sanity.yml @@ -9,9 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: 12 + node-version: lts/* registry-url: https://registry.npmjs.org - name: install dep run: npm ci