Skip to content

Minor code refactoring and cleanup #15

Minor code refactoring and cleanup

Minor code refactoring and cleanup #15

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Download deps
uses: bahmutov/npm-install@v1
- name: Lint
run: npm run lint
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Download deps
uses: bahmutov/npm-install@v1
- name: Prettier check
run: npm run format:check