From 9fd33169b55ace27ca9dcf051dd86e7f50522d80 Mon Sep 17 00:00:00 2001 From: Manuel Carrera Date: Tue, 5 Nov 2024 10:19:29 -0700 Subject: [PATCH] ci: Update node version in our github actions [skip release] (#3009) Update Github Actions node version to 18 [category:Infrastructure] Co-authored-by: manuel.carrera --- .github/workflows/canary.yml | 2 +- .github/workflows/dist-tag.yaml | 2 +- .github/workflows/forward-merge.yml | 2 +- .github/workflows/pull-request.yml | 10 +++++----- .github/workflows/release-major.yml | 2 +- .github/workflows/release-minor.yml | 2 +- .github/workflows/release.yml | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index bc14e43372..18f0f8465a 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -21,7 +21,7 @@ jobs: - uses: Workday/canvas-kit-actions/install@v1 with: - node_version: 16.x + node_version: 18.x ## Build Storybook and extract component stories for Storybook aggregation. This will be used ## for Chromatic rebaselining and publishing to GH Pages. Should be before `yarn build` since diff --git a/.github/workflows/dist-tag.yaml b/.github/workflows/dist-tag.yaml index 689d707897..1493c4cf76 100644 --- a/.github/workflows/dist-tag.yaml +++ b/.github/workflows/dist-tag.yaml @@ -22,7 +22,7 @@ jobs: - uses: Workday/canvas-kit-actions/install@v1 with: - node_version: 16.x + node_version: 18.x - name: Check packages run: node utils/dist-tag.mjs diff --git a/.github/workflows/forward-merge.yml b/.github/workflows/forward-merge.yml index 9cb03d6f54..b967243290 100644 --- a/.github/workflows/forward-merge.yml +++ b/.github/workflows/forward-merge.yml @@ -94,7 +94,7 @@ jobs: - uses: Workday/canvas-kit-actions/install@v1 with: - node_version: 16.x + node_version: 18.x ## A `yarn bump` will create a commit and a tag. We need to set up the git user to do this. ## We'll make that user be the github-actions user. diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index acac0f1e11..5289963d65 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -13,7 +13,7 @@ jobs: - uses: Workday/canvas-kit-actions/install@v1 with: - node_version: 16.x + node_version: 18.x check: runs-on: ubuntu-latest @@ -24,7 +24,7 @@ jobs: - uses: Workday/canvas-kit-actions/install@v1 with: - node_version: 16.x + node_version: 18.x # Keep steps separate for Github Actions annotation matching: https://github.com/actions/setup-node/blob/83c9f7a7df54d6b57455f7c57ac414f2ae5fb8de/src/setup-node.ts#L26-L33 - name: Lint @@ -48,7 +48,7 @@ jobs: - uses: Workday/canvas-kit-actions/install@v1 with: - node_version: 16.x + node_version: 18.x - name: Build Storybook run: yarn build-storybook --quiet @@ -71,7 +71,7 @@ jobs: - uses: Workday/canvas-kit-actions/install@v1 with: - node_version: 16.x + node_version: 18.x - name: Restore Build uses: actions/cache@v3 @@ -102,7 +102,7 @@ jobs: - uses: Workday/canvas-kit-actions/install@v1 with: - node_version: 16.x + node_version: 18.x - name: Restore Build uses: actions/cache@v3 diff --git a/.github/workflows/release-major.yml b/.github/workflows/release-major.yml index b6f8b85212..4ff11c8e95 100644 --- a/.github/workflows/release-major.yml +++ b/.github/workflows/release-major.yml @@ -34,7 +34,7 @@ jobs: - uses: Workday/canvas-kit-actions/install@v1 with: - node_version: 16.x + node_version: 18.x # Run the release job to publish the next major version to npm - uses: Workday/canvas-kit-actions/release@v1 diff --git a/.github/workflows/release-minor.yml b/.github/workflows/release-minor.yml index 514077cd93..a0e0d3d820 100644 --- a/.github/workflows/release-minor.yml +++ b/.github/workflows/release-minor.yml @@ -19,7 +19,7 @@ jobs: - uses: Workday/canvas-kit-actions/install@v1 with: - node_version: 16.x + node_version: 18.x - uses: Workday/canvas-kit-actions/release@v1 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 71bf3433fd..3a0e33d080 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: - uses: Workday/canvas-kit-actions/install@v1 with: - node_version: 16.x + node_version: 18.x - uses: Workday/canvas-kit-actions/release@v1 with: