Skip to content

chore(codecov-installation): remove server.js and comments in test sc… #29

chore(codecov-installation): remove server.js and comments in test sc…

chore(codecov-installation): remove server.js and comments in test sc… #29

Workflow file for this run

name: Run Tests and Upload Coverage
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install dependencies
run: npm install
- name: Run tests with coverage
run: npm test
- name: Upload coverage to Codecov
run: npm run coverage:upload
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}