Update README.md to support macOS and self-hosted runners (#92) #92
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
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
build_test_job: | |
name: 'Build and test job' | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
steps: | |
- name: 'Checking out repo code' | |
uses: actions/checkout@v2 | |
- name: 'Validate build' | |
run: | | |
npm install | |
npm run build | |
- name: 'Run L0 tests' | |
run: | | |
npm run test |