Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanpro committed Jul 30, 2024
1 parent 66e4007 commit d920f1c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,38 @@ jobs:
- name: Checkout 🛎
uses: actions/checkout@master

- uses: actions-ecosystem/action-regex-match@v2
id: regex-match
with:
text: ${{ github.event.pull_request.body }}
regex: 'ci:vue-form-elements:(.*?)[\s\n\r]'

- name: Checkout 🛎
uses: actions/checkout@v4
if: ${{ steps.regex-match.outputs.match != null }}
with:
repository: ProcessMaker/vue-form-elements
path: vue-form-elements
ref: ${{ steps.regex-match.outputs.group1 }}

- name: Setup node env 🏗
uses: actions/setup-node@master
with:
node-version: 20
check-latest: true
cache: 'npm'

- name: Install vue-form-elements dependencies
if: ${{ steps.regex-match.outputs.match != null }}
working-directory: vue-form-elements
run: npm ci && npm run build-bundle

- name: Install dependencies 👨🏻‍💻
run: npm ci

- name: Link vue-form-elements
run: npm link ../vue-form-elements

# - name: Run linter 👀
# run: npm run lint

Expand Down

0 comments on commit d920f1c

Please sign in to comment.