feat: document public structs and methods #2
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 message | |
on: | |
push: | |
branches: ["**"] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone | |
uses: actions/checkout@v4 | |
- name: Setup node 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
check-latest: true | |
- name: Install commitlint | |
run: npm install -g @commitlint/cli @commitlint/config-conventional | |
- name: Lint commit message | |
run: echo "${{ github.event.head_commit.message }}" | commitlint --config .github/commitlint.config.js |