Update build.yml
This commit is contained in:
parent
814dd5f544
commit
de2212eae8
28
.github/workflows/build.yml
vendored
28
.github/workflows/build.yml
vendored
@ -12,7 +12,11 @@ on:
|
|||||||
- core/**
|
- core/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup:
|
build:
|
||||||
|
needs: setup
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -30,11 +34,6 @@ jobs:
|
|||||||
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: |
|
||||||
@ -45,6 +44,23 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
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
|
- name: Lint
|
||||||
working-directory: ./core
|
working-directory: ./core
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user