Allow fast forward merge only. #42
Workflow file for this run
This file contains hidden or 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: Quality Assurance | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: [dev] | |
| push: | |
| branches: [dev] | |
| jobs: | |
| lint: | |
| name: Run Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: ./.github/actions/setup | |
| - run: yarn lint:tsc | |
| - run: yarn lint:eslint | |
| - run: yarn lint:scss | |
| - run: yarn lint:commit --branch "${{ github.head_ref || github.ref_name }}" | |
| audit: | |
| name: Run Audit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup | |
| - run: yarn npm audit --severity moderate |