Chore: fix github action #2
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: [main] | |
push: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Linting | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Prepare Job | |
uses: ./.github/actions/setup | |
- name: Check style | |
run: | | |
pnpm prettier | |
- name: LINTing | |
run: | | |
pnpm lint | |
test: | |
runs-on: ubuntu-latest | |
name: Testing | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Prepare Job | |
uses: ./.github/actions/setup | |
- name: Test | |
run: | | |
pnpm test |