diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 151b312e..67b1ab27 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,6 +6,7 @@ on: permissions: id-token: write + contents: read jobs: build: @@ -19,9 +20,7 @@ jobs: - run: corepack enable && corepack prepare yarn@4.10.3 --activate - run: yarn - run: yarn build - - run: yarn publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} + - run: npm publish - name: Send success message to Slack env: