Skip to content

Commit

Permalink
ci: add workflow to lint with prettier (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpza authored Aug 6, 2024
1 parent 0d9cd56 commit 8e60722
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@ name: Node.js CI
on: [push]

jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 22
cache: yarn
- run: yarn install
- run: yarn prettier --check .

build:
runs-on: ${{ matrix.os }}
strategy:
Expand Down

0 comments on commit 8e60722

Please sign in to comment.