Skip to content

TR-4 - add github action to run test on push & PR request #9

TR-4 - add github action to run test on push & PR request

TR-4 - add github action to run test on push & PR request #9

Workflow file for this run

name: Test
on:
pull_request:
branches: [main]
workflow_dispatch:
push:
branches: ['*']
jobs:
unit-test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "18"
- run: npm install
- run: npm run test