Skip to content

Correct entrypoint

Correct entrypoint #9

Workflow file for this run

name: CI Workflow
on:
# Run on pull requests to any branch
pull_request:
branches:
- '*'
# Run on any push to the main branch
push:
branches:
- main
jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- name: Generate coverage report
run: |
npm install -g nyc
nyc report --reporter=text --reporter=html