Skip to content

Merge pull request #274 from gobitfly/linter #203

Merge pull request #274 from gobitfly/linter

Merge pull request #274 from gobitfly/linter #203

Workflow file for this run

name: Lint & Format
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint-format:
name: lint-format
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Node Environment
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Dependencies
run: npm ci
- name: Check File Format
run: npm run prettier-check
- name: Lint Files
run: npm run lint