You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/release.yml
+16-10Lines changed: 16 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -24,14 +24,17 @@ jobs:
24
24
with:
25
25
fetch-depth: 1
26
26
27
+
- name: Setup pnpm
28
+
uses: pnpm/action-setup@v4
29
+
27
30
- uses: actions/setup-node@v6
28
31
with:
29
32
node-version: "24"# includes npm 11.5.1 or later, needed for trusted publishing
30
-
cache: "npm"
33
+
cache: "pnpm"
31
34
32
-
- run: npm ci
35
+
- run: pnpm install --frozen-lockfile
33
36
# we explicitly run here because changesets might not be running the build step https://github.com/changesets/changesets/issues/860#issuecomment-1316398728
34
-
- run: npm run build
37
+
- run: pnpm run build
35
38
36
39
- id: changesets
37
40
uses: changesets/action@v1
@@ -40,7 +43,7 @@ jobs:
40
43
# split on whitespace and then passed directly to execvp(). Hence the need to indirect
41
44
# through a shell script, ugh. :(
42
45
version: ./.github/changeset-version.sh
43
-
publish: npx changeset publish
46
+
publish: pnpm exec changeset publish
44
47
env:
45
48
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46
49
@@ -63,7 +66,7 @@ jobs:
63
66
exit 1
64
67
fi
65
68
66
-
gh workflow run cla.yml --ref "$head_ref" -f "pull_request=${PR_NUMBER}"
69
+
gh workflow run cla.yml --ref "$head_ref" --raw-field "pull_request=${PR_NUMBER}"
0 commit comments