Skip to content

Publish JSONForms Property-View Packages #13

Publish JSONForms Property-View Packages

Publish JSONForms Property-View Packages #13

Workflow file for this run

name: Publish JSONForms Property-View Packages
on:
workflow_run:
workflows: ['JSONForms Property-View Build CI']
types: [completed]
branches: [master]
permissions:
contents: write
packages: write
id-token: write
jobs:
verify-and-publish:
runs-on: ubuntu-latest
timeout-minutes: 30
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0 # pulls all history and tags for Lerna to detect which packages changed
- name: Use Node.js 24.x
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.x
- name: Use Python 3.13
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.13'
- name: Install and Build
shell: bash
run: yarn
env:
NODE_OPTIONS: --max_old_space_size=4096
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Lint with ESLint
run: yarn lint
# Publish the built packages
- name: Publish packages to NPM
run: |
git config user.email 'eclipse-emfcloud-bot@eclipse.org'
git config user.name 'eclipse-emfcloud-bot'
yarn publish:ci
env:
NPM_CONFIG_PROVENANCE: 'true'