From 10278ca4e38cb0530561ceca6bd89a2ad6eee9d5 Mon Sep 17 00:00:00 2001 From: Maxim Kerstens Date: Mon, 9 Nov 2026 12:58:59 +0100 Subject: [PATCH] Publish the release tarball by path Without a leading ./, npm reads release-package/.tgz as a GitHub owner/repo shorthand and tries to clone it. --- .github/workflows/release.yml | 2 +- tests/workflow-security.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c5fd931..14e0885 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -112,4 +112,4 @@ jobs: path: release-package - name: Publish - run: npm publish release-package/skir-simple-data-objects-generator-*.tgz --provenance --access public --ignore-scripts + run: npm publish ./release-package/skir-simple-data-objects-generator-*.tgz --provenance --access public --ignore-scripts diff --git a/tests/workflow-security.test.ts b/tests/workflow-security.test.ts index 2355a8f..69f9c64 100644 --- a/tests/workflow-security.test.ts +++ b/tests/workflow-security.test.ts @@ -130,7 +130,7 @@ describe("workflow trust boundaries", () => { }, { name: "Publish", - run: "npm publish release-package/skir-simple-data-objects-generator-*.tgz --provenance --access public --ignore-scripts", + run: "npm publish ./release-package/skir-simple-data-objects-generator-*.tgz --provenance --access public --ignore-scripts", }, ]); });