Update build.yml

This commit is contained in:
Daniel Lautzenheiser 2022-12-01 13:25:39 -05:00 committed by GitHub
parent e46b547dab
commit 814dd5f544
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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