fix release #374
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: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
detectonly: | |
name: Detect use of .only | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Detect use of .only | |
run: | | |
grep -rq --include '*.spec.js' \.only\( . && echo 'You have .only() in your tests!' && exit 1 | |
exit 0 | |
web-test-runner: | |
name: Web Test Runner | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Web Test Runner | |
run: | | |
sudo apt-get install -y pulseaudio | |
pulseaudio -D --exit-idle-time=-1 | |
cd wasmaudioworklet | |
yarn install | |
yarn playwright install | |
yarn playwright install-deps | |
yarn createbrowsersourcebundle | |
xvfb-run yarn wtr | |
assemblyscriptsynth: | |
name: AssemblyScript synth | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Assemblyscript synth | |
run: | | |
cd wasmaudioworklet | |
yarn install | |
yarn test-asc-synth:ci | |
bundle-pianorolldemo: | |
name: Bundle pianorolldemo | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Bundle pianorolldemo | |
run: | | |
cd wasmaudioworklet | |
yarn install | |
yarn bundle-pianorolldemo | |
bundle-songcompiler: | |
name: Bundle songcompiler | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Bundle songcompiler | |
run: | | |
cd wasmaudioworklet | |
yarn install | |
yarn bundle-songcompiler |