Skip to content

fix(release): check for branch (#102) #379

fix(release): check for branch (#102)

fix(release): check for branch (#102) #379

Workflow file for this run

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