Skip to content

Lint & Test

Lint & Test #1

Workflow file for this run

name: Lint & Test
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
- name: Setup
run: |
npm install
npm run build
- name: Run eslint
run: |
npm run lint
- name: Run tests
run: |
npm run test