From b1f5b95cfbe76a1ea290293b9eba15811312b98f Mon Sep 17 00:00:00 2001 From: javierbrea Date: Sat, 19 Aug 2023 10:55:40 +0200 Subject: [PATCH] chore: Use Node 20.x in pipelines --- .github/workflows/build.yml | 8 ++++---- .github/workflows/check-package-version.yml | 2 +- .github/workflows/publish-to-github-registry.yml | 2 +- .github/workflows/publish-to-npm.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 331d6c3..c433f1b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: ["14.16.1", "16.13.0", "17.0.1", "18.2.0"] + node: ["14.16.1", "16.13.0", "17.0.1", "18.2.0", "20.5.1"] steps: - name: Checkout uses: actions/checkout@v3 @@ -49,10 +49,10 @@ jobs: path: coverage retention-days: 1 test-windows: - runs-on: windows-2019 + runs-on: windows-2022 strategy: matrix: - node: ["14.16.1", "16.13.0", "17.0.1", "18.2.0"] + node: ["14.16.1", "16.13.0", "17.0.1", "18.2.0", "20.5.1"] steps: - name: Checkout uses: actions/checkout@v3 @@ -88,7 +88,7 @@ jobs: - name: Download test results uses: actions/download-artifact@v3 with: - name: coverage-16.13.0 + name: coverage-18.2.0 path: coverage - name: Coveralls uses: coverallsapp/github-action@master diff --git a/.github/workflows/check-package-version.yml b/.github/workflows/check-package-version.yml index e35b54d..bbe25dc 100644 --- a/.github/workflows/check-package-version.yml +++ b/.github/workflows/check-package-version.yml @@ -1,4 +1,4 @@ -1name: check-package-version +name: check-package-version on: pull_request: branches: diff --git a/.github/workflows/publish-to-github-registry.yml b/.github/workflows/publish-to-github-registry.yml index cfd98f5..aaaea0d 100644 --- a/.github/workflows/publish-to-github-registry.yml +++ b/.github/workflows/publish-to-github-registry.yml @@ -10,7 +10,7 @@ jobs: # Setup .npmrc file to publish to GitHub Packages - uses: actions/setup-node@v3 with: - node-version: '16.x' + node-version: '18.x' registry-url: 'https://npm.pkg.github.com' # Defaults to the user or organization that owns the workflow file scope: '@javierbrea' diff --git a/.github/workflows/publish-to-npm.yml b/.github/workflows/publish-to-npm.yml index 4c690aa..a583ee8 100644 --- a/.github/workflows/publish-to-npm.yml +++ b/.github/workflows/publish-to-npm.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '16.x' + node-version: '18.x' registry-url: 'https://registry.npmjs.org/' - run: npm ci - run: npm publish