Skip to content

Commit

Permalink
Send coverage to Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
ignlg committed May 26, 2024
1 parent c5fa8e5 commit e633d25
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/npm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm run lint
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint

test:
runs-on: ubuntu-latest
Expand All @@ -43,8 +45,12 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm run test
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test
- name: Send coverage to Coveralls
uses: coverallsapp/github-action@v2.3.0

build:
runs-on: ubuntu-latest
Expand All @@ -61,5 +67,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm run build
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build

0 comments on commit e633d25

Please sign in to comment.