Skip to content

Commit

Permalink
prettier on push/pr
Browse files Browse the repository at this point in the history
  • Loading branch information
aletya committed Mar 28, 2024
1 parent 13fd611 commit 3817931
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Prettier on Push and PR

on:
push:
branches:
- 'main'
- 'dev**'
pull_request:
branches:
- 'main'

jobs:
prettier:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Install dependencies
run: npm install
- name: Run Prettier
run: npx prettier --write .

0 comments on commit 3817931

Please sign in to comment.