Update build.yml

This commit is contained in:
Daniel Lautzenheiser 2022-12-01 12:47:22 -05:00 committed by GitHub
parent f27963478a
commit a4462f953a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,11 +4,11 @@ on:
push:
branches: [ "main" ]
paths:
- Editor/**
- core/**
pull_request:
branches: [ "main" ]
paths:
- Editor/**
- core/**
jobs:
build:
@ -21,17 +21,18 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
node-version: 16
- name: Setup
working-directory: ./Editor
- name: Install
working-directory: ./core
run: |
npm ci
- name: Build
working-directory: ./Editor
working-directory: ./core
run: |
npm run build