Add information about yarn lint & test into CONTRIBUTING.md; Add better description of `yarn build` step in the pipeline

pull/88/head
Vladimir Kryukov 2021-01-08 17:11:30 +02:00
parent 264eba2e4a
commit 88801a0f9c
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ jobs:
- run: yarn lint
- run: yarn test
- run: yarn build || { echo "build command should always succeed" ; exit 61; }
- run: yarn build --quiet && git diff --quiet action || { echo "action should be auto generated" ; exit 62; }
- run: yarn build --quiet && git diff --quiet action || { echo "ERROR - index.js is different from repository version. Forgot to run `yarn build`?" ; exit 62; }
testAllModesLikeInTheReadme:
name: Test in ${{ matrix.testMode }} on version ${{ matrix.unityVersion }}

View File

@ -31,8 +31,8 @@ You have [Node](https://nodejs.org/) installed at v12.2.0+ and [Yarn](https://ya
Please note that commit hooks will run automatically to perform some tasks;
- format your code
- run tests
- build distributable files
- run tests & lint - `yarn lint && yarn test`
- build distributable files - `yarn build`
#### License