Skip to content

ci: clean up workflow targets (#19) #81

ci: clean up workflow targets (#19)

ci: clean up workflow targets (#19) #81

Workflow file for this run

name: Unit Tests
on:
push:
branches: [main]
pull_request:
jobs:
unit:
runs-on: windows-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Node.js
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: '22'
- name: Install dependencies
run: yarn install
- name: Run tests with coverage
run: yarn test:unit:coverage
- name: Upload coverage report
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: coverage-report
path: coverage