Skip to content

Commit e9bf681

Browse files
committed
ci(code-check): reorder steps for setup
1 parent f95ab2b commit e9bf681

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/code-check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ jobs:
2424
node-version: 20
2525
cache: pnpm
2626

27+
- name: Install dependencies
28+
run: pnpm install
29+
2730
- name: Cache dependencies
2831
id: node_modules_cache_id
2932
uses: actions/cache@v4
3033
with:
31-
path: ./*/node_modules
34+
path: ./**/node_modules
3235
key: node_modules-${{ hashFiles('**/pnpm-lock.yaml') }}
3336

34-
- name: Install dependencies
35-
run: pnpm install
36-
3737
lint:
3838
needs: setup
3939
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)