Skip to content

ci: CI, a load test and npm trusted publishing (OIDC); release 1.2.1 [PRV-7340] - #6

Merged
ynahmany merged 1 commit into
masterfrom
PRV-7340-oidc-publish
Oct 19, 2026
Merged

ynahmany merged 1 commit into
masterfrom
PRV-7340-oidc-publish

Conversation

@ynahmany

@ynahmany ynahmany commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

What

The package was published by hand from a laptop and had no tests or CI.

  • First test (test/load.test.js, node:test): the package loads and exports a LoopBack connector (initialize). It fails if the export breaks (checked locally).
  • loopback-datasource-juggler@^2.59.3 as a devDependency only: the code requires it but expects the host app to provide it (the monorepo uses the PruvoNet fork, 2.59.2). No change for consumers.
  • ci.yml: npm ci + npm test on Node 18–24, plus the Workflow security (zizmor) job. publish.yml, dependabot.yml, zizmor.yml: same as log4js-cloudwatch-appender.
  • package.json: repository / bugs / homepage → PruvoNet (npm provenance requires repository.url to match; the old URL even named loopback-component-flat-storage). files: ["index.js", "lib"]: same 11 files as 1.2.0. engines stays unset (no claim existed). Version 1.2.1. No code change.

Monorepo impact

None: the root catalog pins loopback-component-flatstorage: 1.2.0 exactly.

After merge

  1. npm trusted publisher: PruvoNet / loopback-component-flatstorage / publish.yml / no environment / npm publish ticked. Publishing access → disallow tokens.
  2. Run publish.yml → verify 1.2.1 with provenance.

Ticket: PRV-7340.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

…RV-7340]

The package was published by hand and had no tests or CI. Add a load
test (node:test; it needs loopback-datasource-juggler, which the host
app provides, so it is a devDependency only), CI on Node 18 to 24 with
zizmor, and publish.yml (OIDC trusted publishing) from the
log4js-cloudwatch-appender template.

repository/bugs/homepage point to PruvoNet (npm provenance needs a
matching repository.url). files: ["index.js", "lib"] keeps the same 11
published files. No code change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ynahmany
ynahmany merged commit 830765d into master Oct 19, 2026
5 checks passed
@ynahmany
ynahmany deleted the PRV-7340-oidc-publish branch October 19, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant