Skip to content

Commit 0da79f6

Browse files
Niklas Kieferfake-join[bot]
Niklas Kiefer
authored andcommitted
chore: add GitHub action
1 parent 7c0418a commit 0da79f6

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/workflows/CI.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
on: [ push, pull_request ]
3+
jobs:
4+
Build:
5+
6+
strategy:
7+
matrix:
8+
os: [ ubuntu-latest ]
9+
node-version: [ 14 ]
10+
11+
runs-on: ${{ matrix.os }}
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v2
16+
- name: Use Node.js
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- name: Cache Node.js modules
21+
uses: actions/cache@v2
22+
with:
23+
# npm cache files are stored in `~/.npm` on Linux/macOS
24+
path: ~/.npm
25+
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
26+
restore-keys: |
27+
${{ runner.OS }}-node-
28+
${{ runner.OS }}-
29+
- name: Install dependencies
30+
run: npm install
31+
- name: Build
32+
run: npm run all

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
# Custom Elements in bpmn-js
55

6+
[![CI](https://github.com/bpmn-io/bpmn-js-example-custom-elements/workflows/CI/badge.svg)](https://github.com/bpmn-io/bpmn-js-example-custom-elements/actions?query=workflow%3ACI)
7+
68
An example of how to support custom elements in [bpmn-js](https://github.com/bpmn-io/bpmn-js) while ensuring BPMN 2.0 compatibility.
79

810
![Screenshot](docs/screenshot.png)

0 commit comments

Comments
 (0)