Merge pull request #38 from sora-vp/next-major #344
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: CI | |
on: | |
pull_request: | |
branches: ["*"] | |
push: | |
branches: ["main"] | |
merge_group: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Monorepo install | |
uses: ./.github/actions/yarn-nm-install | |
- name: Copy env | |
shell: bash | |
run: cp .env.example .env | |
- name: Lint | |
run: yarn lint && pnpm lint:ws | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Monorepo install | |
uses: ./.github/actions/yarn-nm-install | |
- name: Format | |
run: yarn format | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Monorepo install | |
uses: ./.github/actions/yarn-nm-install | |
- name: Typecheck | |
run: turbo typecheck |