diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 70c5ae7442..45b1fb1f2e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -127,3 +127,20 @@ jobs: cd lib/loader npm run asbuild npm run test + coverage: + name: "Coverage" + runs-on: ubuntu-latest + needs: check + steps: + - uses: actions/checkout@v3 + - uses: dcodeIO/setup-node-nvm@master + with: + node-version: current + - name: Install dependencies + run: npm ci --no-audit + - name: Build + run: npm run build + - name: Collect coverage + run: npm run coverage -r none + - name: Output coverage summary + run: npx c8 report -r text-summary