From ff07ae9eb3586bf9158295fa9fc46af61a90412a Mon Sep 17 00:00:00 2001 From: abchen Date: Thu, 18 Apr 2024 23:25:13 +0800 Subject: [PATCH] ci(commitlint): Modify the commitlint.yaml file --- .github/workflows/commitlint.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/commitlint.yaml b/.github/workflows/commitlint.yaml index 0eb36ba..d80fdc4 100644 --- a/.github/workflows/commitlint.yaml +++ b/.github/workflows/commitlint.yaml @@ -19,17 +19,18 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - cache: 'yarn' + cache: 'pnpm' - name: Print versions run: | git --version node --version npm --version + pnpm --version npx commitlint --version - name: Install commitlint run: | - yarn add conventional-changelog-conventionalcommits - yarn add commitlint@latest + pnpm add conventional-changelog-conventionalcommits + pnpm add commitlint@latest - name: Validate current commit (last commit) with commitlint if: github.event_name == 'push'