Skip to content

Commit

Permalink
feat: ✨ add workflow for npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesOberreiter committed Nov 28, 2023
1 parent 437572d commit 977583f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: superagent-aws-sign

on:
release:
types: [created]
workflow_dispatch:

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ jest.config.js
.aws-sam
.eslintrc
.prettierrc
.github

0 comments on commit 977583f

Please sign in to comment.