diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a404a23..2f9f5f7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -55,11 +55,14 @@ jobs: git config --global user.email 'github-actions[bot]@users.noreply.github.com' git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/$GITHUB_REPOSITORY env: + NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} - name: Publish if: github.event_name == 'push' && github.ref == 'refs/heads/main' run: HUSKY_SKIP_HOOKS=1 npx lerna publish --yes env: NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }}