mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00

* add check to verify dist files * change src, without running git hooks (expect failure) * change src again, now do run commit hook (expect success) * cleanup before squash
18 lines
464 B
YAML
18 lines
464 B
YAML
name: Test Action
|
|
|
|
on: [push]
|
|
|
|
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; }
|