diff --git a/.github/workflows/deploy-npm.yml b/.github/workflows/deploy-npm.yml index f87a029..960383b 100644 --- a/.github/workflows/deploy-npm.yml +++ b/.github/workflows/deploy-npm.yml @@ -9,7 +9,7 @@ jobs: publish: name: Build and Publish runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, 'release v')" + if: "!contains(github.event.head_commit.message, 'chore: release v')" env: GH_TOKEN: ${{ secrets.GH_TOKEN }} @@ -64,4 +64,4 @@ jobs: # Release and publish version - name: Release version - run: yarn release --ci --npm.skipChecks + run: NPM_TOKEN="${{ secrets.NPM_TOKEN }}" yarn release --ci --npm.skipChecks diff --git a/package.json b/package.json index c57ae33..018f7af 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "creditcard.js", - "version": "3.0.25", + "version": "3.0.26", "description": "A simple library for credit-card validation in JavaScript", "main": "dist/creditcard.js", "files": [