Skip to content

Beta Pass

Beta Pass #124

Workflow file for this run

name: npm test
on:
pull_request:
branches:
- '**'
push:
branches:
- master
jobs:
test:
name: Run tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: Install Node.js on ${{ matrix.os }}
uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: package-lock.json
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: npm ci
- name: Generate coverage report
run: npm run report:coverage
- name: Send coverage report
uses: codecov/[email protected]
with:
directory: ./reports/