diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df364d95..04419fac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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