Skip to content

Commit

Permalink
Add linting
Browse files Browse the repository at this point in the history
  • Loading branch information
amberstarlight committed Mar 3, 2024
1 parent 37a82c9 commit 716deb1
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Lint

on:
push:
pull_request:
types:
- opened
- synchronize
workflow_dispatch:

permissions:
contents: write

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/iron
cache: "yarn"

- name: Install Packages
run: yarn install --frozen-lockfile

- name: Run Linting
run: yarn prettier -c .

0 comments on commit 716deb1

Please sign in to comment.