From b3dd96c5f4da5d090a78766d0537471ce2aa6d88 Mon Sep 17 00:00:00 2001 From: rolljee Date: Tue, 17 Dec 2024 11:05:17 +0100 Subject: [PATCH] Add npm publish in ci --- .github/workflows/push_branches.workflow.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/push_branches.workflow.yaml b/.github/workflows/push_branches.workflow.yaml index 018f8514..1286eff4 100644 --- a/.github/workflows/push_branches.workflow.yaml +++ b/.github/workflows/push_branches.workflow.yaml @@ -91,5 +91,7 @@ jobs: - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + SEMANTIC_RELEASE_NPM_PUBLISH: "true" SEMANTIC_RELEASE_SLACK_WEBHOOK: ${{ secrets.SEMANTIC_RELEASE_SLACK_WEBHOOK }} run: npx semantic-release