chore(): pin typescript-eslint monorepo ^6.9.0 dev #125
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: "main" | |
on: | |
push: | |
branches: | |
- "master" | |
paths: | |
- ".github/workflows/main.yaml" | |
- "package.json" | |
- "src/**" | |
- "tests/*" | |
- "tsconfig.json" | |
- "tslint.json" | |
pull_request: | |
paths: | |
- ".github/workflows/main.yaml" | |
- "package.json" | |
- "src/**" | |
- "tests/*" | |
- "tsconfig.json" | |
- "tslint.json" | |
jobs: | |
unit_test: | |
name: unit test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout git repository | |
uses: actions/[email protected] | |
- name: Lint code | |
run: yarn lint | |
- name: Test code | |
run: yarn test | |
integration_test: | |
if: github.ref == 'refs/heads/master' | |
name: integration test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout git repository | |
uses: actions/[email protected] | |
- name: Check commits | |
uses: minddocdev/mou-pr-action@master | |
with: | |
commitTitleLength: 72 | |
conventionalCommits: true | |
token: ${{ github.token }} |