Skip to content

Commit 5b64b61

Browse files
committed
fix action file
1 parent 7494539 commit 5b64b61

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/test.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ jobs:
2222
cache: 'pnpm'
2323

2424
- name: Install dependencies
25-
run: pnpm install --frozen-lockfile
25+
run: |
26+
if [ -f "pnpm-lock.yaml" ]; then
27+
pnpm install --frozen-lockfile
28+
else
29+
pnpm install
30+
fi
2631
2732
- name: Run tests
2833
run: pnpm test

0 commit comments

Comments
 (0)