diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9ea4bb6..634c27a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,8 +23,10 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - registry-url: 'https://registry.npmjs.org' - cache: 'yarn' + registry-url: "https://registry.npmjs.org" + cache: "yarn" - run: yarn --frozen-lockfile - run: yarn test - run: npm publish --otp ${{ steps.wait-for-secrets.outputs.OTP }} + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}