Skip to content

ci(fix): modernise CI and remove warnings #73

ci(fix): modernise CI and remove warnings

ci(fix): modernise CI and remove warnings #73

Workflow file for this run

---
name: PR
'on':
pull_request:
types:
- opened
- reopened
- edited
- synchronize
jobs:
check-title:
runs-on: ubuntu-latest
steps:
- name: install
run: |
npm install -g @commitlint/cli @commitlint/config-conventional
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
- name: lint
env:
PR_TITLE: ${{github.event.pull_request.title}}
run: |
echo "$PR_TITLE" | commitlint