From 162764ff089913856f6451abdf9406cfae0f3d19 Mon Sep 17 00:00:00 2001 From: Eric O Date: Thu, 21 Dec 2023 01:00:10 -0500 Subject: [PATCH] Update GitHub ci.yml file to set up node --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4fb087f5..79b047bf5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,7 @@ jobs: strategy: matrix: ruby-version: ['2.7.6'] + node: ['20'] env: RAILS_ENV: test NOKOGIRI_USE_SYSTEM_LIBRARIES: true @@ -32,5 +33,11 @@ jobs: java-version: '8' - name: Set up default config files run: bundle exec rake hyacinth:setup:config_files + - name: Set up Node + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node }} + - run: npm install -g yarn + - run: yarn install - name: Run CI task run: bundle exec rake hyacinth:ci