2021-10-01 03:17:49 -04:00
|
|
|
name: "build-test"
|
2021-10-01 00:58:11 -04:00
|
|
|
on: # rebuild any PRs and main branch changes
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
2021-10-01 03:17:49 -04:00
|
|
|
- "releases/*"
|
2021-10-01 00:58:11 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build: # make sure build/ci work properly
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: |
|
2021-10-01 03:17:49 -04:00
|
|
|
yarn install
|
2021-10-01 00:58:11 -04:00
|
|
|
- run: |
|
2021-10-01 03:17:49 -04:00
|
|
|
yarn run all
|
2021-10-01 00:58:11 -04:00
|
|
|
test: # make sure the action works on a clean machine without building
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: ./
|