ci(github-actions): remove prisma init steps #62
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: Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
install: | |
name: Install packages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: ./.github/actions/pnpm | |
lint: | |
name: Run lint | |
needs: install | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: ./.github/actions/pnpm | |
- name: Lint check | |
run: pnpm lint | |
type-check: | |
name: Run type check | |
needs: install | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: ./.github/actions/pnpm | |
- name: Build | |
run: pnpm run build | |
- name: Type check | |
run: pnpm run check:type | |
test: | |
name: Run Unint test | |
needs: install | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: ./.github/actions/pnpm | |
- name: Build | |
run: pnpm run build | |
- name: Test | |
run: pnpm test |