Skip to content

chore(project): publish v14.4.3 #36

chore(project): publish v14.4.3

chore(project): publish v14.4.3 #36

Workflow file for this run

name: POST_RELEASE
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
post-release:
strategy:
matrix:
os: [ ubuntu-latest ]
node-version: [ 20 ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set TAG
run: echo "TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
- name: Wait for published
env:
PKG: 'dmn-js@${{ env.TAG }}'
run: tasks/stages/await-published
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Cache Node.js modules
uses: actions/cache@v3
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: Update demo
env:
BPMN_IO_TOKEN: ${{ secrets.BPMN_IO_TOKEN }}
BPMN_IO_EMAIL: ${{ secrets.BPMN_IO_EMAIL }}
BPMN_IO_USERNAME: ${{ secrets.BPMN_IO_USERNAME }}
BPMN_IO_DEMO_ENDPOINT: ${{ secrets.BPMN_IO_DEMO_ENDPOINT }}
run: tasks/stages/update-demo
- name: Update examples
env:
BPMN_IO_TOKEN: ${{ secrets.BPMN_IO_TOKEN }}
BPMN_IO_EMAIL: ${{ secrets.BPMN_IO_EMAIL }}
BPMN_IO_USERNAME: ${{ secrets.BPMN_IO_USERNAME }}
run: tasks/stages/update-examples
- name: Update website
env:
BPMN_IO_TOKEN: ${{ secrets.BPMN_IO_TOKEN }}
BPMN_IO_EMAIL: ${{ secrets.BPMN_IO_EMAIL }}
BPMN_IO_USERNAME: ${{ secrets.BPMN_IO_USERNAME }}
run: tasks/stages/update-website