Skip to content

Commit

Permalink
ci: Update node version in our github actions [skip release] (#3009)
Browse files Browse the repository at this point in the history
Update Github Actions node version to 18

[category:Infrastructure]

Co-authored-by: manuel.carrera <[email protected]>
  • Loading branch information
mannycarrera4 and manuel.carrera authored Nov 5, 2024
1 parent 67994ad commit 9fd3316
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dist-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/forward-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-major.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-minor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9fd3316

Please sign in to comment.