Physics update #472
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: CI | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Simulator | |
uses: actions/checkout@v2 | |
with: | |
path: simulator | |
- name: Install Simulator modules | |
# Specifying an alternative cache folder to work around a race condition issue in yarn, | |
# which seems to occur b/c of how ivygate is referenced from GitHub. | |
# See https://github.com/yarnpkg/yarn/issues/7212 | |
run: yarn install --cache-folder ./.yarncache | |
working-directory: simulator | |
- name: Build i18n | |
run: yarn run build-i18n | |
working-directory: simulator | |
- name: Build production bundle | |
run: NODE_OPTIONS=--openssl-legacy-provider yarn build | |
working-directory: simulator | |
- name: Run linter | |
run: yarn lint | |
working-directory: simulator | |
- name: Run unit tests | |
run: yarn test | |
working-directory: simulator |