This repository has been archived by the owner on Dec 30, 2023. It is now read-only.
Update badges #13
This file contains 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: | |
pull_request: | |
branches: | |
- main | |
merge_group: | |
push: | |
branches: | |
- main | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "npm" | |
- name: Install dependencies | |
run: | | |
npm install | |
- name: Run prettier | |
run: | | |
npx prettier --check . |