Merge branch 'develop' into Issue#2239 #11409
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: Build and test | |
on: [push, pull_request] | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Pull the source code to GitHub workspace | |
uses: actions/checkout@v2 | |
- name: Set up Node environment | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install | |
- name: Run build | |
run: yarn run build | |
- name: Run tests | |
if: ${{ success() }} | |
run: yarn test |