chore: fix ci paths #6
Workflow file for this run
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: lint-code | |
on: | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: lint-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: yarn install | |
- name: Lint code | |
run: yarn lint | |
- name: Lint commit | |
uses: wagoid/commitlint-github-action@v5 | |
with: | |
configFile: .commitlintrc.json | |
failOnWarnings: true |