From 6679c237cdcbbf06e34f2fa68c4aeb12b900cae9 Mon Sep 17 00:00:00 2001 From: Anton Gilgur Date: Tue, 17 Mar 2020 19:30:22 -0400 Subject: [PATCH] (optim/ci): don't build a second time for lint or test (#623) - yarn install already builds, so we can skip the build step of these scripts and run the post-build step of each instead --- .github/workflows/nodejs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 6ba924f37..058f13dc3 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -21,7 +21,7 @@ jobs: run: yarn install --frozen-lockfile - name: Lint codebase - run: yarn lint + run: yarn lint:post-build test: runs-on: ${{ matrix.os }} @@ -44,4 +44,4 @@ jobs: run: yarn install --frozen-lockfile - name: Test package - run: yarn test --runInBand + run: yarn test:post-build --runInBand