Skip to content

chore: report coverage changes #662

chore: report coverage changes

chore: report coverage changes #662

Workflow file for this run

name: CI tests
on:
push:
branches: [ master ]
pull_request:
branches:
- master
- beta
paths:
- "./.github/**.yml"
- "**/packages/**.js"
- "**/packages/**/package.json"
- "test/**/*.js"
jobs:
pr-tests:
name: Install, lint, test
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18.x]
os: [ubuntu-latest, windows-latest]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install npm 7
run: npm i -g npm@7 --registry=https://registry.npmjs.org
- name: Install
run: npm ci
- name: Lint
run: npm run lint:ci
# - name: Unit tests
# run: npm test --workspaces
# - name: E2E tests
# run: npm run test:e2e
- name: Run Coverage
run: npm run test:cov:changes
- name: Comment Test Coverage
uses: AthleticNet/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
path: coverage.json
title: Test Coverage