Skip to content

Commit

Permalink
feat: deploy action npm
Browse files Browse the repository at this point in the history
  • Loading branch information
themakunga committed Dec 13, 2021
1 parent 512f889 commit 4b83f24
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: npm-publish
on:
push:
branches:
- main # Change this to your default branch
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Publish if version has been updated
uses: pascalgn/npm-publish-action@1.3.8
with: # All of theses inputs are optional
tag_name: "v%s"
tag_message: "v%s"
create_tag: "true"
commit_pattern: "^Release (\\S+)"
workspace: "."
publish_command: "yarn"
publish_args: "--non-interactive"
env: # More info about the environment variables in the README
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_PUBLISH }} # You need to set this in your repo settings
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- feat: add native request async handler [`4511abc`](https://github.com/42devs/transbank-sdk-node/commit/4511abcb7d2f16d5cef313a7ba223d42a4eba6c2)
- fix: test request [`19dd797`](https://github.com/42devs/transbank-sdk-node/commit/19dd7979244caf2be263672c2932b69cafcf664a)
- feat: change request method [`9e72bdf`](https://github.com/42devs/transbank-sdk-node/commit/9e72bdf54454b25af06d691cfceafe5bea62c361)
- feat: add transaction create [`512f889`](https://github.com/42devs/transbank-sdk-node/commit/512f889ff4a3f53640d65efedaaa8d2a83adc959)
- feat: add autodocs [`6c064fe`](https://github.com/42devs/transbank-sdk-node/commit/6c064fec2ddd3e32633f45e5cce9f4ef21075f0d)
- fix: request body [`2db972a`](https://github.com/42devs/transbank-sdk-node/commit/2db972a550e6b9311a8cd73bc286c74a2f543cf9)
- fix: typo in docs [`71715ea`](https://github.com/42devs/transbank-sdk-node/commit/71715ea59a89b8929cbafb97027eab89c9026cc3)
Expand Down

0 comments on commit 4b83f24

Please sign in to comment.