Update build.yml
This commit is contained in:
parent
e46b547dab
commit
814dd5f544
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@ -12,7 +12,7 @@ on:
|
|||||||
- core/**
|
- core/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
setup:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -24,13 +24,28 @@ jobs:
|
|||||||
cache: yarn
|
cache: yarn
|
||||||
cache-dependency-path: core/yarn.lock
|
cache-dependency-path: core/yarn.lock
|
||||||
node-version: 16
|
node-version: 16
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
working-directory: ./core
|
working-directory: ./core
|
||||||
run: |
|
run: |
|
||||||
yarn install --frozen-lockfile
|
yarn install --frozen-lockfile
|
||||||
|
|
||||||
|
build:
|
||||||
|
needs: setup
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ./core
|
working-directory: ./core
|
||||||
run: |
|
run: |
|
||||||
yarn build
|
yarn build
|
||||||
|
|
||||||
|
lint:
|
||||||
|
needs: setup
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Lint
|
||||||
|
working-directory: ./core
|
||||||
|
run: |
|
||||||
|
yarn lint
|
||||||
|
Loading…
x
Reference in New Issue
Block a user