Skip to content
2 changes: 1 addition & 1 deletion .github/workflows/deploy-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ on:
jobs:
run_deploy:
name: Run Build PM4-workflow
uses: processmaker/processmaker/.github/workflows/deploy-pm4.yml@develop
uses: ProcessMaker/.github/.github/workflows/deploy-pm4.yml@main
secrets: inherit
22 changes: 22 additions & 0 deletions .github/workflows/js-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: js-package
run-name: js-stack ${{ github.event.pull_request.number || github.run_id }}

on:
pull_request:
types: [opened, reopened, synchronize, edited]
workflow_dispatch:

concurrency:
group: js-package-${{ github.repository }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
run:
uses: ProcessMaker/.github/.github/workflows/js-package.yml@main
secrets: inherit
with:
stack_id: ${{ github.event.pull_request.number || github.run_id }}
trigger_repo: ${{ github.event.repository.name }}
trigger_ref: ${{ github.event.pull_request.head.sha || github.ref }}
trigger_branch: ${{ github.event.pull_request.head.ref || github.ref_name }}
pr_body: ${{ toJSON(github.event.pull_request.body || '') }}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,5 +154,8 @@
".js",
".vue"
]
},
"processmaker": {
"downstream": ["modeler"]
}
}
Loading