Skip to content

2.108.8: bugfix type check #15327

2.108.8: bugfix type check

2.108.8: bugfix type check #15327

Workflow file for this run

name: Main
on: [push, pull_request]
jobs:
main:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: npm run install
run: npm run install
- name: npm test
run: npm test
- name: abaplint --version
run: ./packages/cli/abaplint --version
- name: npm run web.rules
run: npm run web.rules
- name: prepare schema.abaplint.org
run: |
./packages/cli/abaplint -d > default.json
cd ..
cd ..
git clone https://github.com/abaplint/schema.abaplint.org.git
ls
cp abaplint/abaplint/packages/core/scripts/schema.json schema.abaplint.org/schema.json
cp abaplint/abaplint/default.json schema.abaplint.org/default.json
PACKAGE_VERSION=$(node -p -e "require('./abaplint/abaplint/packages/core/package.json').version")
cp -n schema.abaplint.org/schema.json schema.abaplint.org/schema-${PACKAGE_VERSION}.json
cp -n schema.abaplint.org/default.json schema.abaplint.org/default-${PACKAGE_VERSION}.json
- name: deploy schema.abaplint.org
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main' && github.repository == 'abaplint/abaplint'
with:
deploy_key: ${{ secrets.SCHEMA_DEPLOY_KEY }}
external_repository: abaplint/schema.abaplint.org
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
publish_branch: main
cname: schema.abaplint.org
publish_dir: ../../schema.abaplint.org
- name: killall ssh-agent
if: github.ref == 'refs/heads/main' && github.repository == 'abaplint/abaplint'
run: killall ssh-agent
- name: deploy rules.abaplint.org
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main' && github.repository == 'abaplint/abaplint'
with:
deploy_key: ${{ secrets.RULES_DEPLOY_KEY }}
external_repository: abaplint/rules.abaplint.org
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
publish_branch: main
cname: rules.abaplint.org
force_orphan: true
publish_dir: ./web/rules/build