Skip to content

Commit

Permalink
Merge pull request #88 from niloofar-deriv/niloofar/setup-coveralls
Browse files Browse the repository at this point in the history
Niloofar/ Setup Coveralls workflow
  • Loading branch information
farrah-deriv authored May 31, 2024
2 parents d13a0fe + 2e10bf7 commit 3efa16e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, edited]

name: Coveralls
jobs:
build:
name: Reporter
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Node.js
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8
with:
node-version: '20'
- name: Update to latest npm (temporary fix for audit below)
run: npm install --global npm
- name: Install dependencies
run: npm clean-install
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Test
run: JEST_MAX_WORKERS=95% npm run test:jest -- --collectCoverage
- name: Coveralls
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949

0 comments on commit 3efa16e

Please sign in to comment.