Skip to content

build: Added GitHub actions to lint and run Jest tests #6

build: Added GitHub actions to lint and run Jest tests

build: Added GitHub actions to lint and run Jest tests #6

Workflow file for this run

name: Linters
on:
push:
branches: [ develop, main, master ]
pull_request:
branches: [ develop, main, master ]
workflow_dispatch:
jobs:
lint:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Lint with TypeScript
run: npm run type-check
- name: Lint with ESLint
run: npm run lint-no-fix
- name: Lint with StyleLint
run: npm run lint-style-no-fix