Update build.yml
This commit is contained in:
parent
e75402c444
commit
f8eaed3550
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -15,10 +15,6 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
node-version: [16.x]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
@ -26,14 +22,15 @@ jobs:
|
|||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
cache: yarn
|
cache: yarn
|
||||||
|
cache-dependency-path: core/yarn.lock
|
||||||
node-version: 16
|
node-version: 16
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
working-directory: ./core
|
working-directory: ./core
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
yarn install --frozen-lockfile
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ./core
|
working-directory: ./core
|
||||||
run: |
|
run: |
|
||||||
npm run build
|
yarn build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user