chore(.github/workflows): add CI workflows for commit lint, dependency audit, and install script testing

This commit is contained in:
sankalp committed 2026-07-16 17:38:53 +05:45
1 parent 6e9cb8efc8
commit d1866cc699
3 files changed
+136

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
name: Commit Lint
on:
pull_request:
branches: [main, dev]
permissions:
contents: read
pull-requests: read
jobs:
commit-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install commitlint
run: npm install -g @commitlint/cli @commitlint/config-conventional
- name: Lint commits
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose