Skip to content

Commit 39ea5f6

Browse files
committed
chore: update yaml workflow
1 parent e103def commit 39ea5f6

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/check.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
- uses: pnpm/action-setup@v4
1515

1616
- name: Install dependencies
17-
run: pnpm install
17+
run: |
18+
pnpm install --frozen-lockfile || pnpm install
1819
- name: Build
1920
run: pnpm build:all
2021
- name: Lint

.github/workflows/publish.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424
- uses: pnpm/action-setup@v4
2525

2626
- name: Install dependencies
27-
run: pnpm build:prepare
27+
run: |
28+
pnpm build:prepare --frozen-lockfile || pnpm build:prepare
2829
- name: Build
2930
run: pnpm build
3031

0 commit comments

Comments
 (0)