From 42a1f7dff2f948e6d54f87b1bf93fbcdb9137710 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Thu, 30 Jun 2022 17:06:30 +0200 Subject: [PATCH] Update GitHub workflow --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f966ebf9..f79fc1b1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-20.04 services: db: - image: postgres:13 + image: postgres:14 env: POSTGRES_PASSWORD: postgres ports: @@ -35,13 +35,13 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 + ruby-version: 3.1 bundler-cache: true - name: Setup Node uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 18 - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn config get cacheFolder)" @@ -74,6 +74,7 @@ jobs: env: RAILS_ENV: test CC_TEST_REPORTER_ID: true + NODE_OPTIONS: --openssl-legacy-provider run: bundle exec rspec --color --format progress --require spec_helper --require rails_helper - name: Send coverage to CodeClimate @@ -93,7 +94,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 + ruby-version: 3.1 bundler-cache: true - name: Run rubocop