Add Test Suite, Achieve 80% Coverage #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TypeScript Test | |
on: | |
push: | |
branches: | |
- "**" # This will trigger the workflow on every push to any branch | |
pull_request: | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "23.x" | |
registry-url: "https://registry.npmjs.org" | |
- name: Run npm ci | |
run: npm ci | |
- name: Run tests | |
run: npm run test |