Style(web): Apply stylistic rules #8002
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: Commits Check | |
on: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
commitlint: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Fetch Git history | |
run: git fetch --no-tags --depth=50 origin main | |
- name: Install dependencies | |
uses: bahmutov/[email protected] | |
with: | |
useRollingCache: true | |
install-command: yarn --immutable | |
- name: Run Commitlint | |
run: npx commitlint --color --verbose --from $(git merge-base origin/main HEAD) |