Skip to content

Commit

Permalink
Build with Node 20 (#743)
Browse files Browse the repository at this point in the history
Upgrade the build workflows from Node 18 (lts/hydrogen) to Node 20 (lts/iron.)
  • Loading branch information
eatyourgreens authored Oct 26, 2023
1 parent 3df130b commit bfd0b78
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
uses: zooniverse/ci-cd/.github/workflows/npm_build.yaml@main
with:
commit_id: ${{ github.sha }}
node_version: 'lts/hydrogen'
node_version: 'lts/iron'
output: 'dist'
script: '_build-staging'
slack_notifiaction:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
uses: zooniverse/ci-cd/.github/workflows/npm_build.yaml@main
with:
commit_id: ${{ github.sha }}
node_version: 'lts/hydrogen'
node_version: 'lts/iron'
output: 'dist'
script: '_build-production'
deploy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: zooniverse/ci-cd/.github/workflows/npm_build.yaml@main
with:
commit_id: ${{ github.sha }}
node_version: 'lts/hydrogen'
node_version: 'lts/iron'
output: 'dist'
script: '_build-staging'
deploy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
id: build
uses: actions/setup-node@v3
with:
node-version: 'lts/hydrogen'
node-version: 'lts/iron'
cache: 'npm'

- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine
FROM node:20-alpine

WORKDIR /src
RUN chown -R node:node /src
Expand Down

0 comments on commit bfd0b78

Please sign in to comment.