diff --git a/README.md b/README.md index 14b08651..3fa45ed8 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ steps: registry-url: 'https://npm.pkg.github.com' - run: npm publish env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} ``` Publish to npmjs and GPR with yarn: @@ -80,7 +80,7 @@ steps: registry-url: 'https://npm.pkg.github.com' - run: yarn publish env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.YARN_TOKEN }} ``` Use private packages: