From af22d7ac6871015084688fc71a630faafc1163cc Mon Sep 17 00:00:00 2001 From: Tine Kondo Date: Tue, 9 Jan 2024 00:25:27 +0100 Subject: [PATCH] chore: update node version to latest LTS (20.x) --- .github/workflows/deploy-demo.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- .github/workflows/run-unit-tests.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-demo.yml b/.github/workflows/deploy-demo.yml index a1675c1..5b84b9c 100644 --- a/.github/workflows/deploy-demo.yml +++ b/.github/workflows/deploy-demo.yml @@ -15,10 +15,10 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@v3 - - name: Use Node.js 16.x + - name: Use Node.js 20.x uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 20.x - name: Install deps & Deploy to Github Pages env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 392aa14..d94bef0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,10 +22,10 @@ jobs: - run: | # we need to fetch the develop branch or else `affected:test` (run by husky after @semantic-release/git) will not work git fetch --depth=1 git checkout develop - - name: Use Node.js 16.x + - name: Use Node.js 20.x uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 20.x - name: Build, Release on GitHub & Publish to NPM env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml index 63e9534..78a8201 100644 --- a/.github/workflows/run-unit-tests.yml +++ b/.github/workflows/run-unit-tests.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: [16.x] + node-version: [20.x] env: NX_BRANCH: ${{ github.event.number }} NX_RUN_GROUP: ${{ github.run_id }}