From e8a58f45fd297cc48338ba21127715b51855ca11 Mon Sep 17 00:00:00 2001 From: EunBae Gong Date: Fri, 22 Mar 2024 16:49:02 +0900 Subject: [PATCH] ci: add env --- .github/workflows/publish.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 5ba0006..d088452 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -37,8 +37,12 @@ jobs: run: | CURRENT_VERSION=$(node -p 'require("./lerna.json").version') echo "CURRENT_VERSION=${CURRENT_VERSION}" >> $GITHUB_ENV - - name: Publish to Github Registry + - name: Publish to dGithub Registry run: pnpm run publish from-package --yes + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: actions/checkout@v3 with: persist-credentials: false