From 0680794be2c641696124371449086964750b5ac8 Mon Sep 17 00:00:00 2001 From: Sam Seed Date: Mon, 6 Nov 2023 17:18:29 +0000 Subject: [PATCH] Make linting consistent in staging and prod pipelines --- .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