Update js-ts-formatting-check.yml #16
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 Check | |
on: | |
push: {} | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@4 | |
- name: Use latest Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 'node' # Use 'node' for latest stable version | |
- name: Install dependencies | |
run: npm ci # Or yarn install if you use Yarn | |
- name: Run Prettier check | |
run: npx prettier --check '**/*.{js,ts}' |