diff --git a/.github/workflows/js-package.yml b/.github/workflows/js-package.yml new file mode 100644 index 00000000..20bb8243 --- /dev/null +++ b/.github/workflows/js-package.yml @@ -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 || '') }} diff --git a/package.json b/package.json index c49272c6..7c8ac339 100644 --- a/package.json +++ b/package.json @@ -135,5 +135,9 @@ "dist/*", "src/*", "index.d.ts" - ] + ], + "processmaker": { + "downstream": ["vue-form-elements"], + "build": "yarn build" + } }