@a2f0/skyline 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/package.md +8 -6
- package/package.json +1 -1
package/docs/package.md
CHANGED
|
@@ -193,14 +193,16 @@ ship-pr bumps the `package.json` patch version on every merge (see
|
|
|
193
193
|
npm's `latest` with [trusted publishing](https://docs.npmjs.com/trusted-publishers) and
|
|
194
194
|
provenance. No npm token is stored: the publish job runs in the `npm` environment, which
|
|
195
195
|
only `main` can deploy to, and npm's trusted publisher names that environment and
|
|
196
|
-
`npm-publish.yml`. A deliberate major or minor bump in a PR is kept. Runs never
|
|
197
|
-
and when merges land together only the newest pending run starts, so intermediate
|
|
196
|
+
`npm-publish.yml`. A deliberate major or minor bump in a PR is kept. Runs on `main` never
|
|
197
|
+
overlap, and when merges land together only the newest pending run starts, so intermediate
|
|
198
198
|
versions can be skipped on npm.
|
|
199
199
|
|
|
200
|
-
The workflow
|
|
201
|
-
|
|
202
|
-
receives only that tarball and runs
|
|
203
|
-
|
|
200
|
+
The workflow first runs the full `bun run check`, browser suites included, in the runner's
|
|
201
|
+
Google Chrome. Only when that passes does it build and pack the tarball; both jobs run without
|
|
202
|
+
publish rights, and the publish job receives only that tarball and runs
|
|
203
|
+
`npm publish --ignore-scripts`. Dispatching the workflow on another branch
|
|
204
|
+
(`gh workflow run npm-publish.yml --ref <branch>`) runs only the tests, in a queue of its own,
|
|
205
|
+
so it never displaces a pending publish.
|
|
204
206
|
|
|
205
207
|
npm adds a trusted publisher only to a package that already exists, so the first version
|
|
206
208
|
is published by hand from an up-to-date `main`. Until then the workflow fails with that
|