Skip to content

Commit 46b4ee9

Browse files
authored
Update Ruby and Node (#1873)
1 parent c5d232c commit 46b4ee9

File tree

7 files changed

+11
-12
lines changed

7 files changed

+11
-12
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ jobs:
4545
- name: Set up Ruby
4646
uses: ruby/setup-ruby@v1
4747
with:
48-
ruby-version: '3.3.6'
48+
ruby-version: '3.4.1'
4949
bundler-cache: true
5050
- uses: pnpm/action-setup@v4
5151
- name: Set up Node
5252
uses: actions/setup-node@v4
5353
with:
54-
node-version: '20'
54+
node-version: '22'
5555
cache: 'pnpm'
5656
- name: Install node dependencies
5757
run: pnpm install

.github/workflows/lint.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
if: steps.changed-files.outputs.any_changed == 'true'
3131
uses: ruby/setup-ruby@v1
3232
with:
33-
ruby-version: '3.3.6'
33+
ruby-version: '3.4.1'
3434
bundler-cache: true
3535
- name: Run RuboCop
3636
if: steps.changed-files.outputs.any_changed == 'true'
@@ -53,7 +53,7 @@ jobs:
5353
if: steps.changed-files.outputs.any_changed == 'true'
5454
uses: ruby/setup-ruby@v1
5555
with:
56-
ruby-version: '3.3.6'
56+
ruby-version: '3.4.1'
5757
bundler-cache: true
5858
- name: Run Slim-Lint
5959
if: steps.changed-files.outputs.any_changed == 'true'
@@ -78,7 +78,7 @@ jobs:
7878
if: steps.changed-files.outputs.any_changed == 'true'
7979
uses: actions/setup-node@v4
8080
with:
81-
node-version: '20'
81+
node-version: '22'
8282
cache: 'pnpm'
8383
- name: Install node dependencies
8484
run: pnpm install
@@ -104,7 +104,7 @@ jobs:
104104
if: steps.changed-files.outputs.any_changed == 'true'
105105
uses: actions/setup-node@v4
106106
with:
107-
node-version: '20'
107+
node-version: '22'
108108
cache: 'pnpm'
109109
- name: Install node dependencies
110110
run: pnpm install

.rubocop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require:
88

99
AllCops:
1010
TargetRailsVersion: 7.1
11-
TargetRubyVersion: 3.3
11+
TargetRubyVersion: 3.4
1212
NewCops: enable
1313
DisplayStyleGuide: true
1414
ExtraDetails: true

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ git_source(:github) do |repo_name|
77
"https://github.com/#{repo_name}.git"
88
end
99

10-
ruby '3.3.6'
10+
ruby '3.4.1'
1111

1212
gem 'rails', '7.1.5.1'
1313

Gemfile.lock

+1-2
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ GEM
245245
net-protocol (0.2.2)
246246
timeout
247247
net-smtp (0.5.0)
248-
net-protocol
249248
netrc (0.11.0)
250249
newrelic_rpm (9.16.1)
251250
nio4r (2.7.4)
@@ -547,7 +546,7 @@ DEPENDENCIES
547546
webmock
548547

549548
RUBY VERSION
550-
ruby 3.3.6p108
549+
ruby 3.4.1p0
551550

552551
BUNDLED WITH
553552
2.6.3

docker/icare/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax = docker/dockerfile:1
22

33
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
4-
ARG RUBY_VERSION=3.3.6
4+
ARG RUBY_VERSION=3.4.1
55
FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base
66

77
# Rails app lives here

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"version": "1.0.0",
55
"engines": {
6-
"node": ">= 20.0",
6+
"node": ">= 22.0",
77
"pnpm": "^9.12.1"
88
},
99
"packageManager": "pnpm@^9.12.1",

0 commit comments

Comments
 (0)