diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 910d4cc..35cfc33 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,6 +7,9 @@ on: jobs: test: runs-on: ubuntu-latest + permissions: + contents: read + id-token: write timeout-minutes: 5 steps: - uses: actions/checkout@v3 @@ -20,6 +23,6 @@ jobs: scope: "@adaptivelink" cache: 'pnpm' - name: Publish - run: npm publish --access public + run: npm publish --provenance--access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file