forked from egovernments/DIGIT-Works
-
Notifications
You must be signed in to change notification settings - Fork 7
39 lines (36 loc) · 1.07 KB
/
publishUIPackages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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/**'
pull_request:
branches:
# Push events on main branch
- 'master'
# Push events to branches matching refs/heads/mona/octocat
- 'develop'
# Push events to branches matching refs/heads/releases/10
- 'MUKTA-v2.1-Develop'
# Push events to branches matching refs/heads/releases/10
- '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}}