Skip to content

fix ts issue for JSONTableDelegate.addItem #40

fix ts issue for JSONTableDelegate.addItem

fix ts issue for JSONTableDelegate.addItem #40

Workflow file for this run

on:
push:
branches:
- main
jobs:
on-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'npm'
cache-dependency-path: 'ex0/package-lock.json'
- run: |
git config user.name github-actions
git config user.email [email protected]
cd ex0
zip -r ../mdc.tutorial.zip ./ -x 'readme.md' -x '*.png'
cd ../
git add mdc.tutorial.zip
git commit -m "update mdc.tutorial.zip"
mkdir tmp
cp ex0/*.json ex0/ui5.yaml tmp
cd tmp
npm i
mkdir webapp
for dir in ../ex*/; do
cp -r "$dir"/webapp/* ./webapp
npm run build
mv dist "$dir"
rm -rf webapp/*
done
cd ../
git add ex*
git commit -m "update ghpages"
git push -f origin main:ghpages