Add svelte check in pre-commit hook #1214
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 Commit Messages | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
commitlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install deps | |
run: npm ci | |
- name: Svelte Kit Sync | |
run: npx svelte-kit sync | |
- uses: wagoid/commitlint-github-action@v5 | |
with: | |
configFile: commitlint.config.cjs | |