From 93dd3d1fea6c284f249bcafd05971f555a4475dc Mon Sep 17 00:00:00 2001 From: bigboateng Date: Wed, 29 Jul 2026 02:13:19 +0100 Subject: [PATCH] ci: install devDependencies before npm publish (prepublishOnly needs them) --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c86006..1f55bee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,6 +82,8 @@ jobs: run: | set -euo pipefail npm version "${GITHUB_REF_NAME#v}" --no-git-tag-version --allow-same-version + # prepublishOnly builds the package; devDependencies must exist first. + npm install --no-audit --no-fund gcloud artifacts print-settings npm \ --project="${{ vars.AR_PROJECT }}" --location="${{ vars.AR_LOCATION }}" \ --repository="${{ vars.AR_NPM_REPO }}" --scope=@operatorstack > .npmrc