Skip to content

Update schema.json and make profile.title optional (ASG-4826) #12

Update schema.json and make profile.title optional (ASG-4826)

Update schema.json and make profile.title optional (ASG-4826) #12

name: typescript generator
on:
pull_request:
types:
- closed
branches:
- master
jobs:
typescript-generator:
runs-on: ubuntu-latest
defaults:
run:
working-directory: tools/typescript-generator
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Git config
run: |
git config --global user.email "[email protected]"
git config --global user.name "cd-user"
- name: Install
run: npm ci
- name: Generate
run: npm start
- name: Commit changes
run: |
cd ../../
git add .
git diff-index --quiet HEAD || (git commit -m "Update typescript model" && git push)