Skip to content

Commit

Permalink
Upgrade to NodeJS v20 (LTS)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorbg committed Dec 2, 2023
1 parent 50de103 commit 3f7237e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- uses: actions/setup-node@v4 # this also includes Yarn
with:
node-version: '16'
node-version: '20'
- uses: actions/cache@v3
with:
path: '**/node_modules'
Expand Down
2 changes: 1 addition & 1 deletion WcaOnRails/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ EXPOSE 3000

ENV DEBIAN_FRONTEND noninteractive
WORKDIR /app
ARG NODE_MAJOR=16
ARG NODE_MAJOR=20

# Add PPA needed to install nodejs.
# From: https://github.com/nodesource/distributions#debian-and-ubuntu-based-distributions
Expand Down
4 changes: 2 additions & 2 deletions chef/site-cookbooks/wca/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

include_recipe "wca::base"

node.default['nodejs']['version'] = '16.15.0'
node.default['nodejs']['repo'] = 'https://deb.nodesource.com/node_16.x'
node.default['nodejs']['version'] = '20.10.0'
node.default['nodejs']['repo'] = 'https://deb.nodesource.com/node_20.x'
include_recipe "nodejs"

npm_package 'yarn' do
Expand Down

0 comments on commit 3f7237e

Please sign in to comment.