Skip to content

Commit ce6ebe1

Browse files
committed
ci: 修正 actions pnpm
1 parent 6eb6244 commit ce6ebe1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/actions/setup/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ runs:
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919
- uses: ./.github/actions/setup
20+
- run: pnpm i
2021
- run: pnpm run lint
2122

2223
test:
2324
runs-on: ubuntu-latest
2425
steps:
2526
- uses: actions/checkout@v4
2627
- uses: ./.github/actions/setup
28+
- run: pnpm i
2729
- run: pnpm run test:coverage
2830
- uses: codacy/codacy-coverage-reporter-action@v1
2931
if: github.actor != 'dependabot[bot]'

0 commit comments

Comments
 (0)