Skip to content

Commit 0ace45d

Browse files
committed
update ci
1 parent 90e04f7 commit 0ace45d

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,17 @@ jobs:
2727
with:
2828
ruby-version: ${{ matrix.ruby-version }}
2929
bundler-cache: true
30-
- name: Install dependencies
30+
- name: Set up Node.js
31+
uses: actions/setup-node@v4
32+
with:
33+
node-version: '20'
34+
cache: 'npm'
35+
cache-dependency-path: 'test/dummy/package-lock.json'
36+
- name: Install Ruby dependencies
37+
run: bundle install
38+
- name: Install Node.js dependencies
3139
run: |
32-
bundle install
40+
cd test/dummy
41+
npm install
3342
- name: Run tests
3443
run: bundle exec bin/rails test

0 commit comments

Comments
 (0)