@norskvideo/ctl-dev-kit 0.1.78 → 0.1.80

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.
@@ -168,10 +168,14 @@ jobs:
168
168
  chmod +x "$RUNNER_TEMP/norsk-ctl"
169
169
  "$RUNNER_TEMP/norsk-ctl" --version
170
170
 
171
- # Instance launch docker-composes the media + studio images; on a cold
172
- # runner the first pull overruns the per-test timeout. Pre-pull them (tags
173
- # from manifest.seed.json), plus whatever the repo lists in the optional
174
- # scripts/smoke/prepull-extra.sh hook (a driver image, a sidecar).
171
+ # Everything below runs dev-kit and test-harness code out of node_modules,
172
+ # and `clean: true` on the checkout means this job starts without any. It
173
+ # used to start with whatever an earlier run had left behind, which is how
174
+ # the entitlement check below ran green for a day on a node_modules nobody
175
+ # in the job had created, then died fleet-wide the first cold checkout.
176
+ - name: Install dependencies
177
+ run: nix develop .#build --command bun install --frozen-lockfile
178
+
175
179
  # Before anything is built or launched: does this licence actually name
176
180
  # this product? `product add` refuses one it does not, and that refusal
177
181
  # reaches the log as a 60-second readiness timeout indistinguishable from
@@ -190,6 +194,10 @@ jobs:
190
194
  node_modules/@norskvideo/ctl-dev-kit/licence/check-entitlement.ts \
191
195
  "$RUNNER_TEMP/norsk-license.json" "$product"
192
196
 
197
+ # Instance launch docker-composes the media + studio images; on a cold
198
+ # runner the first pull overruns the per-test timeout. Pre-pull them (tags
199
+ # from manifest.seed.json), plus whatever the repo lists in the optional
200
+ # scripts/smoke/prepull-extra.sh hook (a driver image, a sidecar).
193
201
  - name: Pre-pull the media + studio images
194
202
  run: |
195
203
  set -euo pipefail
@@ -214,10 +222,10 @@ jobs:
214
222
  run: |
215
223
  nix develop .#build --command bash -c '
216
224
  set -euo pipefail
217
- # clean:false keeps node_modules between runs, and a frozen install
218
- # does not reliably relink a hoisted package whose version moved: a
219
- # stale test-harness once survived a bump and a new export was "not
220
- # found" at import. Drop the harness copy so the pinned version runs.
225
+ # A frozen install does not reliably relink a hoisted package whose
226
+ # version moved: a stale test-harness once survived a bump and a new
227
+ # export was "not found" at import. Drop the harness copy so the
228
+ # pinned version runs. Belt and braces now the checkout is clean.
221
229
  rm -rf node_modules/@norskvideo/ctl-test-harness
222
230
  bun install --frozen-lockfile
223
231
  pub="$(sed -nE "s/^[[:space:]]*PUBLISH_IMAGE:[[:space:]]*\"?([^\" ]*)\"?[[:space:]]*$/\\1/p" .github/workflows/build-image.yml | head -1)"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/ctl-dev-kit",
3
- "version": "0.1.78",
3
+ "version": "0.1.80",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./create-product": "./create-product/create-product.ts",