Skip to content

Commit

Permalink
Add publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
afgallo committed Apr 8, 2023
1 parent 5b0f09d commit 6271260
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 67 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish Package to npm
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
138 changes: 71 additions & 67 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
"prettier": "2.x.x",
"sinon": "15.x.x"
},
"peerDependencies": {
"@aws-sdk/client-sqs": "3.x.x",
"@hapi/hapi": "21.x.x"
},
"keywords": [
"hapi",
"sqs",
Expand Down

0 comments on commit 6271260

Please sign in to comment.