migrated to turborepo, tsup & next.js #3
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: Quality | |
on: | |
push: | |
branches: | |
# TODO: This will be replaced with `main` later. | |
- monorepo | |
# To cancel previous workflow when a new one is triggered. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
format: | |
name: Format | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
- name: Install | |
uses: ./.github/composite-actions/install | |
- name: Run format check | |
run: npm run format | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
- name: Install | |
uses: ./.github/composite-actions/install | |
- name: Run lint check | |
run: npm run lint | |
typecheck: | |
name: Typecheck | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
- name: Install | |
uses: ./.github/composite-actions/install | |
- name: Run type check | |
run: npm run typecheck | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
- name: Install | |
uses: ./.github/composite-actions/install | |
- name: Run build | |
run: npm run build |