@releaseway/npm-actions-fixture 0.0.10-native.0 → 0.0.12-native.0

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "repository": "releaseway/npm-actions-fixture",
3
- "version": "0.0.10-native.0",
4
- "tag": "native-v0.0.10-native.0",
3
+ "version": "0.0.12-native.0",
4
+ "tag": "native-v0.0.12-native.0",
5
5
  "targets": {
6
6
  "linux-x64-gnu": {
7
7
  "asset": "npm-actions-native-fixture_linux_x64.tar.gz",
package/README.md CHANGED
@@ -4,7 +4,7 @@ Permanent integration fixture for releaseway/npm-actions.
4
4
 
5
5
  This package exercises real npm registry and GitHub Release behavior: registry-first version selection, Trusted Publishing OIDC, staged submissions, and native installation and execution. It is not intended for application dependencies or production use.
6
6
 
7
- The committed package remains an ordinary non-native fixture. Fixture-specific native bin metadata and the legacy package-json version scenario are prepared locally; tag-derived scenarios preserve the source version. Publication channels are declared as stable `latest` and prerelease `next` in Releaseway policy, without rewriting `publishConfig.tag`. Both workflows accept a full `action-ref` SHA, verify the checked-out SHA and run `./npm-action`.
7
+ The committed package remains an ordinary non-native fixture. Fixture-specific native bin metadata and the legacy package-json version scenario are prepared locally; tag-derived scenarios preserve the source version. Publication channels are declared as stable `latest` and prerelease `next` in Releaseway policy, without rewriting `publishConfig.tag`. Both workflows accept a full `action-ref` SHA, default to the verified `releaseway/npm-actions v0.5.1` candidate, verify the checked-out SHA and run `./npm-action`.
8
8
 
9
9
  ## Result contract
10
10
 
@@ -27,6 +27,16 @@ The bootstrap credential is no longer part of the fixture flow.
27
27
 
28
28
  ## Staged fixture
29
29
 
30
+ For the complete preparation/publication flow, dispatch `publish.yml` with
31
+ `prepare-release=true`, `version-source=git-tag`, `expected-state=staged`, and the
32
+ planned `fixture-version` (initially `0.0.12-fixture.0`). The committed release and
33
+ npm policies select `prepared-npm-v` tags and `next`. Releaseway plans the version,
34
+ the fixture checks that expectation, then Releaseway resumes the saved plan and
35
+ atomically pushes the marker commit and tag. npm-actions receives the prepared
36
+ commit through its JavaScript action input and packs its tag-derived version.
37
+ This path does not run the metadata preparation script or rewrite `package.json`.
38
+ Evidence retains the workflow source SHA and separately records the prepared SHA.
39
+
30
40
  `publish.yml` keeps the committed Releaseway policy at its staged default. It accepts `fixture-version` in the form `0.0.N-fixture.M` and `expected-state` as either `staged` or `already-published`.
31
41
 
32
42
  The defaults use `0.0.5-fixture.0` with `already-published` to exercise version lookup without a new submission. To exercise actual staged publication, choose a fresh fixture version and `expected-state=staged`. Approval remains a maintainer operation. A pending staged version is not an already-public version, and a conflicting submission is expected to fail.
@@ -40,7 +50,7 @@ The defaults use `0.0.5-fixture.0` with `already-published` to exercise version
40
50
  - Workflow filename: `direct.yml`
41
51
  - Allowed action: enable `Allow npm publish`
42
52
 
43
- The inputs default to `fixture-version=0.0.9-native.0` and `expected-state=already-published`. For this scenario the workflow skips Release creation and source-commit comparison, invokes npm-actions to verify the version is already public, then installs and executes the published CLI. It may run from a later source commit than the original Release. It does not republish the historical package or test a newly generated runtime.
53
+ The inputs default to `fixture-version=0.0.11-native.0` and `expected-state=already-published`. For this scenario the workflow skips Release creation and source-commit comparison, invokes npm-actions to verify the version is already public, then installs and executes the published CLI. It may run from a later source commit than the original Release. It does not republish the historical package or test a newly generated runtime.
44
54
 
45
55
  To publish a new native fixture, select a fresh `0.0.N-native.M` version and `expected-state=published`. Repository release immutability must be enabled. Product steps build the deterministic Linux x64 asset. `releaseway/actions/prepare` binds the same-commit `native-v<version>` tag and `releaseway/actions` publishes or resumes its immutable prerelease with verified asset digests, before npm-actions publishes to `next`. The action prepares only an unpublished candidate and confirms its exact SHA-512 in the live registry.
46
56
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@releaseway/npm-actions-fixture",
3
- "version": "0.0.10-native.0",
3
+ "version": "0.0.12-native.0",
4
4
  "description": "Integration fixture for releaseway/npm-actions. Not for production use.",
5
5
  "type": "module",
6
6
  "exports": "./index.js",