Skip to content

Commit

Permalink
ci: install dependencies before using commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
HJunyuan committed Jul 19, 2024
1 parent d4a7f7b commit 974d802
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
- run: npm ci --ignore-scripts
- run: npx commitlint --from ${{ github.event.workflow_run.base_sha }} --to ${{ github.event.workflow_run.head_sha }} --verbose

0 comments on commit 974d802

Please sign in to comment.