Skip to content

Commit 8a6c7d9

Browse files
jamesnroktclaude
andauthored
fix(release): unblock npm publish — remove broken kit install, add payment ext (#101)
The Release NPM workflow ran `npm ci` in Kits/Rokt, which requires a package-lock.json. The kits are dependency-less and carry no lock file, so `npm ci` failed with EUSAGE and the 4.0.0 release published the plugin but not the Rokt kit, and created no tag or GitHub release. The kits have no dependencies and no lifecycle scripts, so `npm publish` packs and uploads on its own — no install step is needed. Remove the Rokt kit install step entirely (rather than swapping `npm ci` for `npm install`), and add the missing RoktPaymentExtension publish step (new in 4.0.0, with publishConfig, but never published because the workflow had no step for it). Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent c12adfb commit 8a6c7d9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release-from-main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ jobs:
5252
working-directory: plugin
5353
run: npm publish --access public
5454

55-
- name: Install Rokt Kit dependencies
56-
working-directory: Kits/Rokt
57-
run: npm ci
58-
5955
- name: Publish Rokt Kit to npm
6056
working-directory: Kits/Rokt
6157
run: npm publish --access public
6258

59+
- name: Publish Rokt Payment Extension to npm
60+
working-directory: Kits/RoktPaymentExtension
61+
run: npm publish --access public
62+
6363
- uses: ffurrer2/extract-release-notes@273da39a24fb7db106a35526c8162815faffd31d # v3.1.0
6464
id: extract-release-notes
6565
with:

0 commit comments

Comments
 (0)