-
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.
Merge pull request #41 from DLC-link/feat/action
changing github actions
- Loading branch information
Showing
2 changed files
with
63 additions
and
4 deletions.
There are no files selected for viewing
5 changes: 1 addition & 4 deletions
5
.github/workflows/code-checks.yml → .../workflows/validate-pr-in-merge-queue.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
name: Code Checks | ||
name: Validate PR In Merge Queue | ||
|
||
on: | ||
merge_group: | ||
push: | ||
branches: | ||
- '**' | ||
|
||
jobs: | ||
lint-eslint: | ||
|
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,62 @@ | ||
name: Validate PR | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- 'dev' | ||
- 'main' | ||
|
||
jobs: | ||
lint-eslint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/provision | ||
|
||
- name: Lint | ||
run: yarn lint:eslint | ||
|
||
lint-filename: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/provision | ||
|
||
- name: File name checker | ||
run: yarn lint:filename | ||
|
||
lint-prettier: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/provision | ||
|
||
- name: Lint | ||
run: yarn lint:prettier | ||
|
||
lint-unused-exports: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/provision | ||
|
||
- name: Lint unused TypeScript exports | ||
run: yarn lint:unused-exports | ||
|
||
typecheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/provision | ||
|
||
- name: Typecheck | ||
run: yarn typecheck | ||
|
||
test-unit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/provision | ||
|
||
- name: Test | ||
run: yarn test:unit |