Skip to content

Use simple test workflow #1

Use simple test workflow

Use simple test workflow #1

Workflow file for this run

name: Run tests
on: [pull_request, push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Lint
run: npm run lint
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run test:ci
- name: Upload coverage report
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: ./coverage