diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index a94440f..e2e6dc1 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -21,8 +21,8 @@ jobs: needs: build runs-on: ubuntu-latest env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - GITHUB_TOKEN: ${{secrets.RELEASE_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + GITHUB_TOKEN: ${{secrets.RELEASE_TOKEN}} steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 @@ -30,6 +30,8 @@ jobs: node-version: 12 registry-url: https://registry.npmjs.org token: ${{ secrets.NPM_TOKEN }} + scope: '@payarc' - run: npm ci - - run: npm publish --access=public - + - run: npm publish --provenance --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}