From 60c97799f16c09ad8a0804b6448de68d304bc098 Mon Sep 17 00:00:00 2001 From: SamSeed-Softwire <63662292+SamSeed-Softwire@users.noreply.github.com> Date: Wed, 8 Nov 2023 11:05:21 +0000 Subject: [PATCH] Make linting consistent in staging and prod pipelines (#2020) --- .github/workflows/production_pipeline.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/production_pipeline.yml b/.github/workflows/production_pipeline.yml index 76a85eca8..d58cf74ae 100644 --- a/.github/workflows/production_pipeline.yml +++ b/.github/workflows/production_pipeline.yml @@ -167,9 +167,19 @@ jobs: with: bundler-cache: true - - name: Rubocop + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + cache: yarn + node-version: 18 + + - name: Install packages and symlink local dependencies + run: | + yarn install --immutable --immutable-cache --check-cache + + - name: Lint run: | - bundle exec rubocop + bundle exec rake lint audit: name: Audit dependencies