Update dependencies and move to npm vs yarn #13
Workflow file for this run
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: | |
- '*' | |
push: | |
branches: | |
- main | |
jobs: | |
prettier: | |
name: Prettier Check Action | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
version: '20.x' | |
cache: 'npm' | |
- name: NPM Install | |
run: 'npm install --legacy-peer-deps' | |
- name: Run Prettier | |
run: 'npx prettier --check --fail-on-errors .' | |