-
Notifications
You must be signed in to change notification settings - Fork 4
43 lines (39 loc) · 1.14 KB
/
MIWG.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: MIWG
on:
workflow_dispatch:
inputs:
update_demo_year:
description: 'True to update last demo participation year'
required: true
type: boolean
jobs:
"Create_MIWG_submission":
env:
MIWG_PATH: tmp/bpmn-miwg-test-suite
strategy:
matrix:
os: [ ubuntu-latest ]
node-version: [ 20 ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout MIWG Test Suite
run: |
mkdir -p ${{ env.MIWG_PATH }}
git clone https://github.com/bpmn-io/bpmn-miwg-test-suite.git ${{ env.MIWG_PATH }}
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Create submission files
run: npm run miwg
- name: Prepare pull request
env:
BPMN_IO_TOKEN: ${{ secrets.BPMN_IO_TOKEN }}
BPMN_IO_EMAIL: ${{ secrets.BPMN_IO_EMAIL }}
BPMN_IO_USERNAME: ${{ secrets.BPMN_IO_USERNAME }}
UPDATE_DEMO_YEAR: "${{ inputs.update_demo_year }}"
run: ./tasks/prepare-submission.sh