docs: better docs #53
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
# this workflow will run on every pr to make sure the project is following the guidelines | |
# after labeler, run other actions with strict permissions | |
name: CI | |
on: | |
pull_request: | |
branches: ["*"] | |
merge_group: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Run lint | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/setup | |
- run: pnpm lint | |
format: | |
runs-on: ubuntu-latest | |
name: Run format | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/setup | |
- run: pnpm format:check | |
tsc: | |
runs-on: ubuntu-latest | |
name: Run typecheck | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/setup | |
- run: pnpm typecheck | |
build-www: | |
runs-on: ubuntu-latest | |
name: Build www | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/setup | |
- run: pnpm build:www |