chore(.github/workflows): add CI workflows for commit lint, dependency audit, and install script testing
This commit is contained in:
3 files changed
+136
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user