From c1d23bbd59069781947cf31968ea470ceb129149 Mon Sep 17 00:00:00 2001 From: Guilherme Albert Date: Sat, 3 Aug 2024 14:48:27 -0300 Subject: [PATCH] BUILD --- .github/workflows/publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5934396..0c0eb74 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,9 +20,13 @@ jobs: - name: Install dependencies run: yarn install + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Build package run: yarn build + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Get the latest tag id: get_latest_tag @@ -37,7 +41,7 @@ jobs: echo ::set-output name=tag::$NEW_TAG - name: Publish to npm - run: yarn publish + run: yarn publish --non-interactive env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}