Update website to 2025 tentative version: #216
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 Linting | |
on: | |
push: | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
run-linters: | |
name: Run Linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Git repo | |
uses: actions/checkout@v2 | |
- name: Cache node_modules | |
uses: actions/cache@v2 | |
with: | |
path: "**/node_modules" | |
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }} | |
- name: Install dependencies | |
run: yarn install | |
- name: Run check linters | |
run: yarn prettier -c pages/*.js styles/*.css components/*.js |