From 1e0ef6108c594da65817fa80805032696d76e659 Mon Sep 17 00:00:00 2001 From: TaprootFreak <142087526+TaprootFreak@users.noreply.github.com> Date: Mon, 12 Jan 2026 13:23:17 +0100 Subject: [PATCH] chore(ci): remove npm publish from production workflow (#893) Remove all npm package publishing steps from prd.yml: - Remove 'Setup npm' step (.npmrc creation) - Remove 'Build library' step (tsc build for npm) - Remove 'Publish to npm' step The NPM_ACCESS_TOKEN secret can now be deleted from repository settings. --- .github/workflows/prd.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/prd.yml b/.github/workflows/prd.yml index c51e7bd6..4b974e55 100644 --- a/.github/workflows/prd.yml +++ b/.github/workflows/prd.yml @@ -31,9 +31,6 @@ jobs: node-version: ${{ env.NODE_VERSION }} cache: 'npm' - - name: Setup npm - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_ACCESS_TOKEN }}" > .npmrc - - name: Install packages run: npm ci @@ -56,9 +53,6 @@ jobs: run: | npm run widget - - name: Build library - run: npm run build:lib - - name: Copy widget run: | version=$(echo "v${{ steps.package_version.outputs.current-version }}" | cut -d '.' -f1-2) @@ -141,12 +135,6 @@ jobs: --resource-group ${{ env.AZURE_RESOURCE_GROUP }} \ --no-wait - - name: Publish to npm - continue-on-error: true - run: npm publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} - - name: Logout run: | az logout