Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI
on: [ push, pull_request ]
jobs:
build:

strategy:
matrix:
os: [ ubuntu-latest ]
node-version: [ 20 ]

runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v5
- name: Use Node.js
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Project setup
uses: bpmn-io/actions/setup@latest
- name: Build
run: npm run all
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*/public/app.bundled.js
node_modules
3 changes: 0 additions & 3 deletions bundling/.gitignore

This file was deleted.

4 changes: 2 additions & 2 deletions bundling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ try {
const { warnings } = await dmnJS.importXML(xml);

if (warnings.length) {
console.log('import with warnings', warnings);
console.warn('import with warnings', warnings);
} else {
console.log('import successful');
}
Expand All @@ -41,7 +41,7 @@ try {
.get('canvas')
.zoom('fit-viewport');
} catch (err) {
console.log('something went wrong:', err);
console.error('something went wrong:', err);
}
```

Expand Down
Loading