From d7df118b95576c31906fd2df347eef6517a12fb7 Mon Sep 17 00:00:00 2001 From: Paul Robert Lloyd Date: Mon, 25 Apr 2022 18:36:02 +0100 Subject: [PATCH] Set up Node.js before running lint job in workflow --- .github/workflows/staging_pipeline.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/staging_pipeline.yml b/.github/workflows/staging_pipeline.yml index 3b1a1a4a1..5304c9138 100644 --- a/.github/workflows/staging_pipeline.yml +++ b/.github/workflows/staging_pipeline.yml @@ -82,6 +82,16 @@ jobs: with: bundler-cache: true + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + cache: yarn + node-version: 16 + + - name: Install packages and symlink local dependencies + run: | + yarn install --immutable --immutable-cache --check-cache + - name: Lint run: | bundle exec rake lint