Skip to content

stub out tests

stub out tests #9

Workflow file for this run

name: Tests
on:
pull_request_target:
push:
branches:
- main
jobs:
unit_tests:
runs-on: ubuntu-latest
environment: staging
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: npm ci
- run: npm run build
- run: npm test
- run: npm run test:gen-cov
- name: Upload coverage to CodeCov
uses: codecov/codecov-action@v4
with:
directory: ./coverage
token: ${{ secrets.CODECOV_TOKEN }}