insertBits validation: conditionally include tested code in the shade… #2340
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: Push CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/[email protected] | |
with: | |
persist-credentials: false | |
- uses: actions/setup-node@v2-beta | |
with: | |
node-version: "16.x" | |
- run: npm ci | |
- run: | | |
npm test | |
mkdir deploy-build/ | |
cp -r README.md src standalone out out-wpt docs tools deploy-build/ | |
- uses: JamesIves/[email protected] | |
with: | |
BRANCH: gh-pages | |
FOLDER: deploy-build | |
CLEAN: true |