Update build.yml
This commit is contained in:
parent
f27963478a
commit
a4462f953a
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@ -4,11 +4,11 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
paths:
|
paths:
|
||||||
- Editor/**
|
- core/**
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
paths:
|
paths:
|
||||||
- Editor/**
|
- core/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -21,17 +21,18 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
cache: yarn
|
||||||
|
node-version: 16
|
||||||
|
|
||||||
- name: Setup
|
- name: Install
|
||||||
working-directory: ./Editor
|
working-directory: ./core
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ./Editor
|
working-directory: ./core
|
||||||
run: |
|
run: |
|
||||||
npm run build
|
npm run build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user