2022-07-01 16:38:33 +02:00
|
|
|
name: Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
- uses: actions/setup-node@v3
|
|
|
|
with:
|
2022-11-26 09:56:19 +01:00
|
|
|
node-version: 18
|
2022-07-01 16:38:33 +02:00
|
|
|
- name: Install
|
|
|
|
run: |
|
|
|
|
yarn install
|
2022-07-27 17:27:21 +02:00
|
|
|
- name: typecheck
|
|
|
|
run: |
|
|
|
|
yarn run typecheck
|
2022-07-01 16:38:33 +02:00
|
|
|
- name: Test
|
|
|
|
run: |
|
|
|
|
yarn run spec
|
|
|
|
- name: Compile main
|
|
|
|
run: |
|
|
|
|
yarn run pack:main
|
|
|
|
- name: Compile renderer
|
|
|
|
run: |
|
|
|
|
yarn run pack:renderer
|