Skip to content

Unit testing

Unit testing #1

Workflow file for this run

name: Unit testing
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
jobs:
test:
name: Lint & Test
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Test
run: npm run test -- --configuration=ci
- name: Test sample app
run: npm run test-sample-app -- --configuration=ci