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
Nothing in the PR-build install path uses pkg.pr.new anymore: install.sh,
vp migrate, and the Docker preview all resolve commit builds through the
registry bridge, and the bridge action packs local directories. Drop the
pkg-pr-new publish step and update the comments and sticky-comment wording
accordingly.
The pkg.pr.new label, this workflow's file name, and the rust cache-key keep
their names: the label for muscle memory, the file name to preserve Actions
run history, the cache-key to keep warm caches.
# The locally built directories to pack and publish, matching the
165
-
#pkg-pr-new publish list above so the two stay in sync. (This is also
166
-
#the action's default, passed explicitly for review parity.)
159
+
# The locally built directories to pack and publish. (This is also
160
+
#the action's default, passed explicitly so the published set is
161
+
#reviewable here.)
167
162
packages: |
168
163
packages/cli/npm/*
169
164
packages/cli/cli-npm/*
@@ -200,7 +195,7 @@ jobs:
200
195
'',
201
196
`### Registry bridge build (\`${shortSha}\`)`,
202
197
'',
203
-
'This commit is published to pkg.pr.new and registered with the [registry bridge](https://github.com/voidzero-dev/pkg-pr-registry-bridge), which serves these as ordinary npm versions (every other package proxies to npmjs):',
198
+
'This commit build is published to the [registry bridge](https://github.com/voidzero-dev/pkg-pr-registry-bridge), which serves these as ordinary npm versions (every other package proxies to npmjs):',
204
199
'',
205
200
'| Package | Version |',
206
201
'| --- | --- |',
@@ -264,9 +259,9 @@ jobs:
264
259
});
265
260
}
266
261
267
-
# Build and push a preview Docker image from the pkg.pr.new build so the image
268
-
# can be verified before a real release. Tagged `pr-<number>`; never `latest`.
269
-
# See docker/Dockerfile and docs/guide/docker.md.
262
+
# Build and push a preview Docker image from the registry bridge build so the
263
+
#image can be verified before a real release. Tagged `pr-<number>`; never
264
+
#`latest`. See docker/Dockerfile and docs/guide/docker.md.
270
265
publish-docker-preview:
271
266
if: >-
272
267
github.repository == 'voidzero-dev/vite-plus' &&
@@ -292,8 +287,9 @@ jobs:
292
287
username: ${{ github.actor }}
293
288
password: ${{ secrets.GITHUB_TOKEN }}
294
289
295
-
# Builds from the pkg.pr.new packages for this PR (VP_PR_VERSION). The
296
-
# platform packages must exist first, hence `needs: publish`.
290
+
# Builds from this PR's registry bridge build (VP_PR_VERSION resolves it
291
+
# through the bridge). The bridge must have the commit build first, hence
292
+
# `needs: publish`.
297
293
# amd64-only: this throwaway preview avoids the slow arm64 QEMU leg; arm64
298
294
# is covered by the release build and the test-install-sh-arm64 job.
0 commit comments