mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
20 lines
507 B
YAML
20 lines
507 B
YAML
name: Test Action
|
|
|
|
on:
|
|
pull_request: {}
|
|
push: { branches: [master] }
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 12.x
|
|
- run: yarn
|
|
- run: yarn lint
|
|
- run: yarn test
|
|
- run: yarn build || { echo "build command should always succeed" ; exit 61; }
|
|
- run: yarn build --quiet && git diff --quiet builder || { echo "builder should be auto generated" ; exit 62; }
|