Skip to content

add: upload reports as an artifact #15

add: upload reports as an artifact

add: upload reports as an artifact #15

Workflow file for this run

name: 'run-tests'
on:
pull_request:
paths:
- 'run-tests/**'
- '.github/workflows/run-tests*'
push:
paths:
- 'run-tests/**'
- '.github/workflows/run-tests*'
jobs:
unit-tests:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set Node.js 16.x
uses: actions/setup-node@master
with:
node-version: 16.x
cache: 'npm'
cache-dependency-path: 'run-tests/package-lock.json'
- name: npm install
working-directory: ./run-tests
run: npm install
- name: Lint and Unit tests
working-directory: ./run-tests
run: npm run test