From de2212eae83343868674a46a16a08cacab896762 Mon Sep 17 00:00:00 2001 From: Daniel Lautzenheiser Date: Thu, 1 Dec 2022 13:28:46 -0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 475f810c..9ba20713 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,11 @@ on: - core/** jobs: - setup: + build: + needs: setup + runs-on: ubuntu-latest + + steps: runs-on: ubuntu-latest steps: @@ -30,11 +34,6 @@ jobs: run: | yarn install --frozen-lockfile - build: - needs: setup - runs-on: ubuntu-latest - - steps: - name: Build working-directory: ./core run: | @@ -45,6 +44,23 @@ jobs: runs-on: ubuntu-latest steps: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Setup Node + uses: actions/setup-node@v3 + with: + cache: yarn + cache-dependency-path: core/yarn.lock + node-version: 16 + + - name: Install + working-directory: ./core + run: | + yarn install --frozen-lockfile + - name: Lint working-directory: ./core run: |