Unity Academy upgrades #120
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: on-pull-request | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Verify all tests pass and build success | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source code | |
uses: actions/checkout@v2 | |
- name: Use Node.js 💻 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '16.x' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run tests | |
run: yarn test && yarn test:scripts | |
- name: Build all | |
run: yarn build --tsc --lint |