Sfoglia il codice sorgente

chore: Reinstate npm publish token due to potential bug

https://github.com/npm/cli/issues/8730
Michael Bromley 2 mesi fa
parent
commit
e6627044e9
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      .github/workflows/publish_to_npm.yml

+ 3 - 0
.github/workflows/publish_to_npm.yml

@@ -24,3 +24,6 @@ jobs:
       - run: npm install --no-save
       - run: npm run build
       - run: lerna publish from-package --yes
+        env:
+          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+          NPM_CONFIG_PROVENANCE: true