From 26f164d6a08a1c84d150cb1a9b7f33ef8fc19bbb Mon Sep 17 00:00:00 2001 From: Vishnu Narayanan Date: Mon, 20 Feb 2023 23:37:41 +0530 Subject: [PATCH] fix: foss_spec github action (#6495) * fix: foss_spec gh action * chore: upload log artifact in foss_spec gh action * chore: ping foss_spec gh action runner os version to ubuntu-20.04 * fix: set nodeversion to 16 --- .github/workflows/run_foss_spec.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run_foss_spec.yml b/.github/workflows/run_foss_spec.yml index 98fae5c8e..51688944c 100644 --- a/.github/workflows/run_foss_spec.yml +++ b/.github/workflows/run_foss_spec.yml @@ -15,7 +15,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 services: postgres: image: postgres:10.8 @@ -49,6 +49,10 @@ jobs: with: bundler-cache: true # runs 'bundle install' and caches installed gems automatically + - uses: actions/setup-node@v3 + with: + node-version: 16 + - name: yarn run: yarn install @@ -70,3 +74,10 @@ jobs: - name: Run backend tests run: | bundle exec rspec --profile=10 --format documentation + + - name: Upload rails log folder + uses: actions/upload-artifact@v3 + if: always() + with: + name: rails-log-folder + path: log