-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
41 additions
and
45 deletions.
There are no files selected for viewing
3 changes: 1 addition & 2 deletions
3
.github/workflows/prepare.yml → .github/actions/setup/action.yml
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
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 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.