From 2779637d3fa53ded221f458b293870f4f7a00327 Mon Sep 17 00:00:00 2001 From: Yasha Date: Sun, 26 Apr 2026 10:22:09 +0200 Subject: [PATCH] Revert "Merge pull request #1 from QualityUnit/chore/npm-trusted-publishing" This reverts commit 90cf49fe2bd5728d1d134412c644937f2cffea40, reversing changes made to 40b499a8e4345f22dbc7cae14ecd06cd4c21e169. --- .github/workflows/release.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6502636..bfd6579 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,9 +27,6 @@ jobs: registry-url: 'https://registry.npmjs.org' cache: npm - - name: Upgrade npm to a version that supports Trusted Publishing - run: npm install -g npm@latest - - name: Install dependencies run: npm ci @@ -41,9 +38,11 @@ jobs: - name: Publish CLI working-directory: packages/cli + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} run: | if [ "${{ github.event_name }}" = "workflow_dispatch" ] && [ "${{ inputs.dry_run }}" = "true" ]; then - npm publish --dry-run --provenance --access public + npm publish --dry-run else - npm publish --provenance --access public + npm publish fi