Jon Herron 1d3a492179 Squashed 'bpmn-js-spiffworkflow/' content from commit b3eef6e5
git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: b3eef6e52cb91d10081f1586dc035701956f93a9
2022-10-12 10:21:19 -04:00

31 lines
700 B
YAML

name: Tests
# Run on Pull Requests and pushes to main
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
# Job Setup
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3 #Checkout Repo
- uses: actions/setup-node@v3 #Setup Node
- uses: nanasess/setup-chromedriver@v1
with:
node-version: '18'
- name: Run Karma Tests
run: |
npm ci
npm run test