Skip to content

Commit

Permalink
Add GitHub Actions workflow to run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ewels committed Mar 9, 2024
1 parent 1e56daa commit 30b9d85
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Lint code
on:
push:
branches:
- master
- astro
pull_request:

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install --only=dev
- uses: pre-commit/action@v3.0.1

0 comments on commit 30b9d85

Please sign in to comment.