Skip to content

Commit

Permalink
CI: Update Node.js to v18
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-ac-martin committed Feb 14, 2023
1 parent 6232f40 commit 7ec2c01
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
node:
description: The version of Node.js to use.
required: false
default: 16
default: 18
frozen-lockfile:
description: Whether to require a frozen lock-file
required: false
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/change-assurance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Setup
uses: ./.github/actions/setup
with:
node: 16
node: 18

- name: Build libraries
run: npm run libs:build
Expand All @@ -70,7 +70,7 @@ jobs:
- name: Setup
uses: ./.github/actions/setup
with:
node: 16
node: 18

- name: Build
uses: ./.github/actions/build-app
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
- name: Setup
uses: ./.github/actions/setup
with:
node: 16
node: 18

- name: Download build directory
uses: actions/download-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-heroku.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
cypress-project-id: ${{ secrets.CYPRESS_PROJECT_ID }}
cypress-record-key: ${{ secrets.CYPRESS_RECORD_KEY }}
deployment: heroku
node: 16
node: 18
smoke: true

- name: Scan service for vulnerabilities
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
cypress-project-id: ${{ secrets.CYPRESS_PROJECT_ID }}
cypress-record-key: ${{ secrets.CYPRESS_RECORD_KEY }}
deployment: netlify
node: 16
node: 18
smoke: true

- name: Scan service for vulnerabilities
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup
uses: ./.github/actions/setup
with:
node: 16
node: 18

- name: Push Storybook to Chromatic
uses: chromaui/action@v1
Expand All @@ -33,7 +33,7 @@ jobs:
uses: './.github/workflows/deploy-to-netlify.yml'
with:
app: govuk-docs
node: 16
node: 18
production-branch: master
secrets:
CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup
uses: ./.github/actions/setup
with:
node: 16
node: 18
frozen-lockfile: true

- name: Publish
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-security-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup
uses: ./.github/actions/setup
with:
node: 16
node: 18

- name: Scan dependencies
uses: ./.github/actions/scan-dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-built-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup
uses: ./.github/actions/setup
with:
node: 16
node: 18

- name: Scan dependencies
uses: ./.github/actions/scan-dependencies
Expand Down

1 comment on commit 7ec2c01

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please # to comment.