This repository was archived by the owner on May 13, 2025. It is now read-only.
docs: add deprecation notice (#339) #436
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Prettier | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| run-linters: | |
| name: Run Prettier Check | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| steps: | |
| - name: Check out Git repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install Prettier | |
| run: npm install prettier | |
| # just runs a check; use for instance https://prettier.io/playground/ to fix formatting issues manually | |
| - name: Run Prettier check | |
| run: npx prettier --check . --ignore-path .prettierignore |