Merge pull request #11 from DLC-link/fix/conf-check #42
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: Code Checks | |
on: | |
merge_group: | |
push: | |
branches: | |
- '**' | |
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-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Lint commit message | |
uses: wagoid/commitlint-github-action@v4 | |
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 |