Skip to content

Commit

Permalink
Merge pull request #21 from BlinkPay/hotfix/publish
Browse files Browse the repository at this point in the history
Ignored integration tests from package and added verification.
  • Loading branch information
rvbabilonia authored Oct 30, 2024
2 parents 1f70e5a + 72bcf16 commit 97a1661
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
npm_publish:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 22 ]
if: github.event.release.target_commitish == 'master'
steps:
- uses: actions/checkout@v4
Expand All @@ -22,6 +25,8 @@ jobs:
run: npm version --allow-same-version --no-git-tag-version ${{ github.event.release.tag_name }}
- name: Build
run: npm run build
- name: Verify package contents
run: npm pack --dry-run
- name: Publish
run: npm publish
env:
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/integrationTest/
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blink-debit-api-client-node",
"version": "1.0.0",
"version": "1.1.0",
"description": "The Blink Debit API client for Node.js",
"author": "Rey Vincent Babilonia (rey.babilonia@blinkpay.co.nz)",
"keywords": [
Expand Down Expand Up @@ -41,6 +41,8 @@
"typescript": "^5.6.3"
},
"files": [
"dist"
"dist",
"LICENSE",
"README.md"
]
}

0 comments on commit 97a1661

Please sign in to comment.