Skip to content

Commit

Permalink
Merge pull request #58 from bancolombia/feature/client-js-release-wor…
Browse files Browse the repository at this point in the history
…kflow

Create release-client-js.yml
  • Loading branch information
gabheadz authored Sep 25, 2023
2 parents bcc2f22 + ef68116 commit cc0211c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release-client-js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy Async DataFlow channel sender JS client

on:
push:
tags:
- 'chanjs_*' # Push events to matching chanjs_*, i.e. chanjs_0.2.0
jobs:
build:
defaults:
run:
working-directory: clients/client-js
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: actions/setup-node@v3
with:
registry-url: 'https://npm.pkg.github.com'
scope: '@bancolombia'
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit cc0211c

Please sign in to comment.