From ecde9a3e46178dc9bfceac5d5f6d1e18d7542613 Mon Sep 17 00:00:00 2001 From: spiltcoffee Date: Sun, 9 Jul 2023 18:08:35 +1000 Subject: [PATCH] ci: update ci scripts to use latest node version --- .github/workflows/continuous-deployment.yml | 4 ++-- .github/workflows/continuous-integration.yml | 8 ++++---- .github/workflows/deploy-static.yml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/continuous-deployment.yml b/.github/workflows/continuous-deployment.yml index dc2e9039..ca52996b 100644 --- a/.github/workflows/continuous-deployment.yml +++ b/.github/workflows/continuous-deployment.yml @@ -31,10 +31,10 @@ jobs: - uses: actions/checkout@v3 # unlike with ci, we only want the latest version to deploy with - - name: setup node.js 16 + - name: setup node.js uses: actions/setup-node@v3.7.0 with: - node-version: 16 + node-version: latest cache: yarn - run: yarn install --immutable diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 22cb9585..f194f2fb 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -16,11 +16,11 @@ jobs: steps: - uses: actions/checkout@v3 - # only need 16 here as none of the steps below test the actual output - - name: setup node.js 16 + # only need latest here as none of the steps below test the actual output + - name: setup node.js uses: actions/setup-node@v3.7.0 with: - node-version: 16 + node-version: latest cache: yarn - run: yarn install --immutable @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [14, 16] + node-version: [16, 18, 20] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/deploy-static.yml b/.github/workflows/deploy-static.yml index 2e4c0c1f..75397cc1 100644 --- a/.github/workflows/deploy-static.yml +++ b/.github/workflows/deploy-static.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/setup-node@v3.7.0 with: - node-version: 16 + node-version: latest cache: yarn - run: yarn install --immutable