diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 6f698d6e..fe4bbb97 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -22,7 +22,7 @@ jobs: - run: git config --global user.name "GitHub CD bot" - run: git config --global user.email "james.hrisho@gmail.com" - run: npm version ${{ github.event.release.tag_name }} --no-git-tag-version - - run: git commit -m "[Release] ${{ github.event.release.tag_name }}" + - run: git add . && git commit -m "[Release] ${{ github.event.release.tag_name }}" - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}