Skip to content

Commit

Permalink
ci: add prettier workflow
Browse files Browse the repository at this point in the history
* chore(readme): koda will explode

* style: fail CI if code is not prettier

* select all branches

* imagine committing package-lock.json like npm explicitly tells you to; couldn't be nin0

* skill issue

* huh?

* guh

* did he add prettier without... installing prettier???

* hypocrite

* use pnpm

* no pnpm?

* le pnpm skill issue

* .

* run prettier 🇫🇷

* Delete package-lock.json

* Delete pnpm-lock.yaml

---------

Co-authored-by: nin0dev <[email protected]>
  • Loading branch information
PoolloverNathan and nin0-dev authored Oct 25, 2024
1 parent 65ef5d0 commit b9a2fd3
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2,073 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/prettier-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Prettier CI

on:
push:
pull_request:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm i -g pnpm
- run: pnpm i
- run: ls ./{,node_modules/{,.bin/}}
- run: node_modules/.bin/prettier --check .
Loading

0 comments on commit b9a2fd3

Please sign in to comment.