name: Build testing on: pull_request: push: branches: [ master ] jobs: ufuzz: strategy: fail-fast: false matrix: options: [ '-mb braces', '-mc', '--toplevel -mc passes=10,pure_getters,unsafe' ] script: [ acorn.sh, buble.sh, butternut.sh, mathjs.sh, rollup-es.sh, rollup-ts.sh, sucrase.sh ] include: - node: '14' script: acorn.sh - node: '14' script: buble.sh - node: '14' script: butternut.sh - node: '14' script: mathjs.sh - node: '8' script: rollup-es.sh - node: '14' script: rollup-ts.sh - node: '14' script: sucrase.sh name: ${{ matrix.script }} ${{ matrix.options }} runs-on: ubuntu-latest env: NODE: ${{ matrix.node }} OPTIONS: ${{ matrix.options }} SCRIPT: ${{ matrix.script }} steps: - uses: actions/checkout@v2 - name: Perform uglify, build & test shell: bash run: | . ./test/release/install.sh ./test/release/$SCRIPT $OPTIONS