diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 2fbadf9..24a1bae 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -11,12 +11,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 + with: {registry-url: "https://registry.npmjs.org"} - run: npm install - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npm run review - - run: npm login - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - run: npm publish + - run: npm publish --provenance --access public + env: {NODE_AUTH_TOKEN: "${{ secrets.NPM_TOKEN }}"}