diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 93b4ec7c..475f810c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ on: - core/** jobs: - build: + setup: runs-on: ubuntu-latest steps: @@ -24,13 +24,28 @@ jobs: cache: yarn cache-dependency-path: core/yarn.lock node-version: 16 - + - name: Install working-directory: ./core run: | yarn install --frozen-lockfile + + build: + needs: setup + runs-on: ubuntu-latest + steps: - name: Build working-directory: ./core run: | yarn build + + lint: + needs: setup + runs-on: ubuntu-latest + + steps: + - name: Lint + working-directory: ./core + run: | + yarn lint