From c05c9b82248930b6d86c3d09b10fadd44e9d29ff Mon Sep 17 00:00:00 2001 From: Semen Bobrov Date: Tue, 10 Dec 2024 10:42:25 +0100 Subject: [PATCH] chore: fix pipeline --- .github/workflows/publish.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fb8d60c..752d53f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,7 @@ on: # - main jobs: - build: + build-and-publish: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: @@ -33,5 +33,8 @@ jobs: - name: Build project run: npm run build - - name: Build project + - name: Release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: npm run release