Skip to content

Niloofar/ Added URLs Constants and Utils #18

Niloofar/ Added URLs Constants and Utils

Niloofar/ Added URLs Constants and Utils #18

Workflow file for this run

name: "Run unit tests"
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
permissions:
# Required to checkout the code
contents: read
# Required to put a comment into the pull-request
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: "Install Node"
uses: actions/setup-node@v4
with:
node-version: "20.x"
- name: "Install Deps"
run: npm install
- name: "Test"
run: npx vitest run --coverage.enabled --coverage.provider=v8 --coverage.reporter=json-summary --coverage.reporter=json
- name: "Report Coverage"
uses: davelosert/vitest-coverage-report-action@v2