fix: ensure group paths are properly registered on add #2475
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Tasklist Carbonization | |
on: | |
push: | |
branches: | |
- '*' | |
- '!main' | |
jobs: | |
Exec: | |
name: Run visual regression | |
runs-on: ubuntu-latest | |
container: | |
image: mcr.microsoft.com/playwright:v1.43.1 | |
options: --user 1001:1000 | |
steps: | |
- name: Checkout form-js | |
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b | |
with: | |
path: form-js | |
- name: Checkout Tasklist | |
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b | |
with: | |
repository: camunda/zeebe | |
token: ${{ secrets.ADD_TO_HTO_PROJECT_PAT }} | |
path: zeebe | |
ref: 'main' | |
- name: Setup form-js cache | |
uses: actions/setup-node@eff380dfbcf941bf8832e4acb788cebe13dfd758 | |
with: | |
node-version: '20' | |
cache: 'npm' | |
cache-dependency-path: ./form-js/package-lock.json | |
- name: Setup Tasklist cache | |
uses: actions/setup-node@eff380dfbcf941bf8832e4acb788cebe13dfd758 | |
with: | |
node-version: '20' | |
cache: 'yarn' | |
cache-dependency-path: ./zeebe/tasklist/client/yarn.lock | |
- name: Install form-js deps | |
run: npm ci | |
working-directory: ./form-js | |
- name: Build form-js | |
run: npm run build | |
working-directory: ./form-js | |
- name: Create form-js-viewer link | |
run: yarn link | |
working-directory: ./form-js/packages/form-js-viewer | |
- name: Link form-js-viewer | |
run: yarn link "@bpmn-io/form-js-viewer" | |
working-directory: ./zeebe/tasklist/client | |
- name: Create form-js-carbon-styles link | |
run: yarn link | |
working-directory: ./form-js/packages/form-js-carbon-styles | |
- name: Link form-js-carbon-styles | |
run: yarn link "@bpmn-io/form-js-carbon-styles" | |
working-directory: ./zeebe/tasklist/client | |
- name: Install Tasklist deps | |
run: yarn | |
working-directory: ./zeebe/tasklist/client | |
- name: Build Tasklist | |
run: yarn build:visual-regression | |
working-directory: ./zeebe/tasklist/client | |
- name: Start server | |
working-directory: ./zeebe/tasklist/client | |
run: yarn start:visual-regression & | |
- name: Run Playwright tests | |
working-directory: ./zeebe/tasklist/client | |
run: yarn playwright form-js-integration | |
- uses: actions/upload-artifact@552bf3722c16e81001aea7db72d8cedf64eb5f68 | |
if: always() | |
with: | |
name: playwright-report | |
path: ./zeebe/tasklist/client/playwright-report/ | |
retention-days: 30 |