Skip to content

Commit

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

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

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

0 comments on commit 878f8fe

Please sign in to comment.