Merge pull request #769 from hackclub/tour-fix #86
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: prettify check | |
permissions: read-all | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
name: Prettier | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20.x' | |
- name: Install Dependencies | |
run: npm install --no-save | |
- name: Run Prettier | |
run: npx prettier --check . |