Merge pull request #677 from odisha-muktasoft/UCEM-286-1 #366
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js Publish UI Packages | |
on: | |
push: | |
branches: | |
# Push events on main branch | |
- 'master' | |
# Push events to branches matching refs/heads/mona/octocat | |
- 'UAT' | |
- 'MUKTA-v2.1-Develop' | |
- 'MUKTA-DEVELOP-v2.1.1' | |
paths: | |
- 'frontend/micro-ui/web/micro-ui-internals/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 14 | |
registry-url: https://registry.npmjs.org/ | |
- run: cd frontend/micro-ui/web/micro-ui-internals/ && bash ./publish.sh | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.npm_token}} |