Skip to content

Commit

Permalink
upgrade ci github action and node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
JackBlackLight committed Dec 5, 2023
1 parent 8df2ea7 commit 512cab8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
strategy:
matrix:
ruby-version: ['3.1.3']
node: ['10', '12']
node: ['16']
env:
RAILS_ENV: test
NOKOGIRI_USE_SYSTEM_LIBRARIES: true

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install libxslt for nokogiri gem (required for version < 1.11)
run: sudo apt-get install -y libxml2-dev libxslt-dev
- name: Add --no-document option to .gemrc file to speed up bundle install
Expand All @@ -27,12 +27,12 @@ jobs:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Set up Java
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'adopt-hotspot'
java-version: '8'
- name: Set up Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install -g yarn
Expand Down

0 comments on commit 512cab8

Please sign in to comment.