Skip to content

Fixes #25

Fixes #25 #25

Workflow file for this run

name: PR Sanity checks
on:
push:
branches:
- dev
- main
pull_request:
branches:
- dev
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Test things
run: |
npm ci # This will make sure that package.json and package-lock.json are in sync
npm run lint
npx jest --coverage --coverageReporters=cobertura
npm test # This will be unit tests
# Won't work because of permissions and I will fight later
# - uses: 5monkeys/cobertura-action@master
# with:
# path: coverage/cobertura-coverage.xml
# minimum_coverage: 17