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