Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
Update ci.yml

Update ci.yml

Update ci.yml
  • Loading branch information
nolanpro committed Jul 30, 2024
1 parent 66e4007 commit 5033c8b
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,41 @@ jobs:

steps:
- name: Checkout 🛎
uses: actions/checkout@master
uses: actions/checkout@v4

- 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]'
flags: 's'

- name: debug
run: echo got '${{ steps.regex-match.outputs.group1 }}'

- name: Checkout 🛎
run: git clone --depth 1 -b ${{ steps.regex-match.outputs.group1 }} https://github.com/ProcessMaker/vue-form-elements
if: ${{ steps.regex-match.outputs.match != null }}

- 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
if: ${{ steps.regex-match.outputs.match != null }}
run: npm link ./vue-form-elements

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

Expand Down

0 comments on commit 5033c8b

Please sign in to comment.