Skip to content

Commit 988aa7f

Browse files
committed
Fixed broken pnpm/action-setup pin and excluded workspace file from zip
The pnpm/action-setup digest ac6db6d3c1f721f886538a378a2d73e85697340a no longer exists upstream (GitHub returns HTTP 422 for it), so every workflow job pinned to it fails to resolve the action. Replaced it with 0e279bb959325dab635dd2c09392533439d90093, the verified digest behind the current v6/v6.0.8 tag. Discovered during the monorepo pnpm migration in TryGhost/Themes#529. Also excluded pnpm-workspace.yaml from the theme zip: it only carries pnpm 11 build-script approvals (development tooling) and does not belong in the installable theme package.
1 parent e645578 commit 988aa7f

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/deploy-theme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
persist-credentials: false
2121

22-
- uses: pnpm/action-setup@ac6db6d3c1f721f886538a378a2d73e85697340a
22+
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093
2323

2424
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
2525
with:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
persist-credentials: false
1818

19-
- uses: pnpm/action-setup@ac6db6d3c1f721f886538a378a2d73e85697340a
19+
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093
2020

2121
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
2222
with:

gulpfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ function zipper(done) {
7373
'!node_modules', '!node_modules/**',
7474
'!dist', '!dist/**',
7575
'!pnpm-debug.log',
76-
'!pnpm-lock.yaml'
76+
'!pnpm-lock.yaml',
77+
'!pnpm-workspace.yaml'
7778
]),
7879
zip(filename),
7980
dest(targetDir)

0 commit comments

Comments
 (0)