Skip to content

Merge pull request #81 from HackRU/dev #274

Merge pull request #81 from HackRU/dev

Merge pull request #81 from HackRU/dev #274

Workflow file for this run

name: lint
on:
push:
branches: [main, dev]
pull_request:
workflow_dispatch:
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
- run: npx prettier --check .
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
- run: npm install
- run: npx eslint . --ext .js,.jsx,.ts,.tsx