Skip to content

Commit

Permalink
Upgrade to NodeJS 22.9.0 (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon authored Oct 7, 2024
1 parent 552e0df commit 8cfc2f6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ commands:
orbs:
browser-tools: circleci/browser-tools@1.4.8
coveralls: coveralls/coveralls@1.0.6
node: circleci/node@5.0.2
jobs:
build:
working_directory: ~/rails_template
Expand All @@ -36,6 +37,9 @@ jobs:
steps:
- checkout
- run: sudo apt update && sudo apt install postgresql-client libmsgpack-dev
- node/install:
install-yarn: true
node-version: '22.9.0'
- install_dependencies
- persist_to_workspace:
root: &root '~/rails_template'
Expand Down Expand Up @@ -66,6 +70,9 @@ jobs:
at: *root
- browser-tools/install-chrome
- browser-tools/install-chromedriver
- node/install:
install-yarn: true
node-version: '22.9.0'
- run:
name: Wait for PostgreSQL
command: dockerize -wait tcp://localhost:5432 -timeout 1m
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ruby 3.3.5
awscli 2.11.24
yarn 1.22.10
nodejs 18.18.0
nodejs 22.9.0
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN apt-get update -qq && \
FROM prebuild as node

# Install JavaScript dependencies
ARG NODE_VERSION=18.18.0
ARG NODE_VERSION=22.9.0
ARG YARN_VERSION=1.22.21
ENV PATH=/usr/local/node/bin:$PATH
RUN curl -sL https://github.com/nodenv/node-build/archive/master.tar.gz | tar xz -C /tmp/ && \
Expand Down

0 comments on commit 8cfc2f6

Please sign in to comment.