Skip to content

Commit 9ed3804

Browse files
committed
forcing pnpm version 10.12.4, more guardrails to release ci
1 parent d3a835c commit 9ed3804

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- name: Install pnpm
1515
uses: pnpm/action-setup@v4
16+
with:
17+
version: 10.12.4
1618
- name: Use Node.js 22
1719
uses: actions/setup-node@v4
1820
with:

.github/workflows/release.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,30 @@ jobs:
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4
18-
19-
- name: Setup pnpm
20-
uses: pnpm/action-setup@v4
21-
with:
22-
version: 10.12.4
2318
- name: Setup Node
2419
uses: actions/setup-node@v4
2520
with:
2621
node-version: 20
2722
cache: 'pnpm'
2823
registry-url: 'https://registry.npmjs.org'
2924

25+
- name: Setup pnpm
26+
uses: pnpm/action-setup@v4
27+
with:
28+
version: 10.12.4
29+
3030
- name: Install deps
3131
run: pnpm install --frozen-lockfile
32+
env:
33+
HUSKY: 0
3234

3335
- name: Build
3436
run: pnpm build
3537

3638
- name: Create Release PR or Publish
3739
uses: changesets/action@v1
3840
with:
39-
version: pnpm version:packages
41+
version: pnpm version:packages && pnpm install --no-frozen-lockfile
4042
publish: pnpm release
4143
env:
4244
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)