Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Revert "chore(ci): use OIDC token for trusted publishing to `npm` (#5610)" (#5618)

Mark Wiemer3771c471dcdc
diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml
index 9663e736..01029fe4 100644
--- a/.github/workflows/release-please.yml
+++ b/.github/workflows/release-please.yml
@@ -44,4 +44,6 @@ jobs:
- name: Install dependencies
run: npm ci --ignore-scripts --force --no-fund --no-audit
- - run: npm publish --access public --tag=next
+ - run: npm publish --provenance --access public --tag=next
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}