Skip to content

Commit

Permalink
ci: Add Reusable PR Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexs-mparticle committed Jul 12, 2024
1 parent c3eaa4e commit 9bf68ed
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 42 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/pull-request.yml

This file was deleted.

23 changes: 13 additions & 10 deletions .github/workflows/reusable-workflows.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: Reusable Workflows

on:
pull_request:
pull_request:

jobs:
pr-branch-check-name:
name: Check PR for semantic branch name
uses: mParticle/mparticle-workflows/.github/workflows/pr-branch-check-name.yml@stable
pr-title-check:
name: Check PR for semantic title
uses: mParticle/mparticle-workflows/.github/workflows/pr-title-check.yml@stable
pr-branch-target-gitflow:
name: Check PR for semantic target branch
uses: mParticle/mparticle-workflows/.github/workflows/pr-branch-target-gitflow.yml@stable
web-kit-pull-request:
name: Run Web Kit PR Workflow
uses: mParticle/mparticle-workflows/.github/workflows/web-kit-pull-request.yml@370b52b2c5b6e6b0b74e88062da8f44603260b13
pr-branch-check-name:
name: Check PR for semantic branch name
uses: mParticle/mparticle-workflows/.github/workflows/pr-branch-check-name.yml@stable
pr-title-check:
name: Check PR for semantic title
uses: mParticle/mparticle-workflows/.github/workflows/pr-title-check.yml@stable
pr-branch-target-gitflow:
name: Check PR for semantic target branch
uses: mParticle/mparticle-workflows/.github/workflows/pr-branch-target-gitflow.yml@stable
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"scripts": {
"build": "ENVIRONMENT=production rollup --config rollup.config.js",
"build:test": "rollup --config rollup.test.config.js",
"lint": "eslint src/ test/src/",
"watch": "ENVIRONMENT=production rollup --config rollup.config.js -w",
"test": "npm run build && npm run build:test && DEBUG=false karma start test/karma.config.js",
"test:debug": "npm run build && npm run build:test && DEBUG=true karma start test/karma.config.js",
Expand Down

0 comments on commit 9bf68ed

Please sign in to comment.