-
-
Notifications
You must be signed in to change notification settings - Fork 11
21 lines (21 loc) · 626 Bytes
/
codecov.yml
File metadata and controls
21 lines (21 loc) · 626 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Workflow for Codecov example-javascript
on: [workflow_dispatch, push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Run tests and collect coverage
run: npm run test
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: farhan7reza7/diff-ymd-package