Skip to content

Commit 131004f

Browse files
committed
ci: 修正 actions pnpm cache
1 parent ce6ebe1 commit 131004f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/actions/setup/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ runs:
1111
- uses: actions/setup-node@v4
1212
with:
1313
node-version-file: .nvmrc
14-
cache: pnpm
14+
cache: 'pnpm'
1515
cache-dependency-path: pnpm-lock.yaml
1616
- run: corepack enable
1717
shell: bash
18-
# - run: pnpm i
19-
# shell: bash
18+
- run: pnpm i
19+
shell: bash

.github/workflows/code-review.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,13 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919
- uses: ./.github/actions/setup
20-
- run: pnpm i
2120
- run: pnpm run lint
2221

2322
test:
2423
runs-on: ubuntu-latest
2524
steps:
2625
- uses: actions/checkout@v4
2726
- uses: ./.github/actions/setup
28-
- run: pnpm i
2927
- run: pnpm run test:coverage
3028
- uses: codacy/codacy-coverage-reporter-action@v1
3129
if: github.actor != 'dependabot[bot]'

0 commit comments

Comments
 (0)