Skip to content

Add semantic release configuration file and streamline release workfl… #11

Add semantic release configuration file and streamline release workfl…

Add semantic release configuration file and streamline release workfl… #11

Workflow file for this run

name: Unit Tests
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run type check
run: npm run typecheck
- name: Run tests
run: npm test
- name: Upload coverage
uses: codecov/codecov-action@v3
if: always()
with:
files: ./coverage/lcov.info
fail_ci_if_error: false