Skip to content

tests: add tests infrastructure + first unit and e2e tests #4

tests: add tests infrastructure + first unit and e2e tests

tests: add tests infrastructure + first unit and e2e tests #4

Workflow file for this run

name: validate
on:
workflow_call:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
- run: npm run lint
- run: npm run build
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
- run: npm run test
- run: npm run test:e2e