Complete Next.js rewrite #2
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: Codebase format and lint | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup project | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
- run: npm i -g yarn | |
- run: yarn ci | |
- name: Run Prettier | |
run: yarn prettier --check . | |
- name: Run lints | |
run: yarn turbo lint |