Skip to content

Merge pull request #7485 from stephenwaite/rel-702-fixups #121

Merge pull request #7485 from stephenwaite/rel-702-fixups

Merge pull request #7485 from stephenwaite/rel-702-fixups #121

Workflow file for this run

name: JS Unit Test
on:
push:
branches: [ rel-702 ]
pull_request:
branches: [ rel-702 ]
permissions:
contents: read
jobs:
js_unit_test:
runs-on: ubuntu-22.04
name: JS Unit Test
steps:
- uses: actions/checkout@v3
- name: Install npm package
uses: actions/setup-node@v3
with:
node-version: '18'
- name: npm install
run: |
failTest=false
npm install || failTest=true
if $failTest; then
exit 1
fi
- name: Run Unit Tests
run: |
failTest=false
npm run test:js || failTest=true
if $failTest; then
exit 1
fi