Merge pull request #3 from csunibo/remake #2
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: Formatting | |
on: | |
push | |
jobs: | |
format-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Checkout the repo | |
uses: actions/checkout@v4 | |
- name: Install prettier | |
run: npm install --save-dev --save-exact prettier | |
- name: Check formatting | |
run: npx prettier --check src/ |