Skip to content

Commit

Permalink
Run prettier in GitHub Actions (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner authored Oct 30, 2024
1 parent c1fc85c commit eff0dd9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
contents: read

jobs:
lint:
pre-commit:
runs-on: ubuntu-latest

steps:
Expand All @@ -20,3 +20,14 @@ jobs:
python-version: "3.x"
cache: pip
- uses: pre-commit/[email protected]

prettier:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- name: Lint with Prettier
run: npx prettier templates/switchers.js --check --single-quote

0 comments on commit eff0dd9

Please sign in to comment.