Skip to content

FRS-5 Testing

FRS-5 Testing #20

Workflow file for this run

# Copied from https://github.com/marketplace/actions/lint-action
name: Lint and Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint-and-test:
name: Run linters and test
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: "npm"
- name: Install Node.js dependencies
run: npm ci
- name: Lint
uses: wearerequired/lint-action@v2
with:
eslint: true
prettier: true
- name: Build
run: npm run build --if-present
- name: Test
run: npm test