We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbd59fc commit c22ffb4Copy full SHA for c22ffb4
1 file changed
.github/workflows/commit-lint.yml
@@ -22,4 +22,20 @@ jobs:
22
- name: Enable corepack
23
run: npm i -g corepack@latest && corepack enable
24
25
+ - name: Get pnpm store directory
26
+ shell: bash
27
+ run: |
28
+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
29
+
30
+ - uses: actions/cache@v4
31
+ name: Setup pnpm cache
32
+ with:
33
+ path: ${{ env.STORE_PATH }}
34
+ key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
35
+ restore-keys: |
36
+ ${{ runner.os }}-pnpm-store-
37
38
+ - name: Install dependencies
39
+ run: pnpm install --frozen-lockfile
40
41
- run: pnpm dlx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
0 commit comments