Skip to content

compile all and run tests #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 5 additions & 19 deletions .github/workflows/build_web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: build_web

on:
workflow_dispatch:
pull_request:
schedule:
- cron: '0 8 * * *'

Expand All @@ -10,23 +11,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: git clone https://github.com/abap2UI5/abap2UI5.git
- run: git clone https://github.com/abap2UI5/abap2UI5-samples.git
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci
- run: npm run downport
- run: npm run downport_samples
- run: npm run transpile
- name: send to downport repository
uses: peaceiris/actions-gh-pages@v3
with:
external_repository: abap2UI5/abap2UI5-web
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
publish_branch: main
publish_dir: ./output
deploy_key: ${{ secrets.DEPLOY_KEY }}
destination_dir: output
- run: npm run clone
- run: npm run unit
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
node_modules
downport
abap2UI5
abap2UI5-samples
output
src
6 changes: 4 additions & 2 deletions abap_transpile.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"addCommonJS": true,
"extraSetup": "../test/setup.mjs",
"unknownTypes": "runtimeError",
"keywords": ["return", "in", "class", "for", "delete"],
"skip": []
"keywords": ["return", "in", "class", "for", "delete", "var"],
"skip": [
{"object": "Z2UI5_CL_AJSON", "class": "ltcl_parser_test", "method": "parse_error", "note": "NodeJS 20 does not set position of parsing error"}
]
}
}
36 changes: 0 additions & 36 deletions abaplint-downport-samples.jsonc

This file was deleted.

4 changes: 2 additions & 2 deletions abaplint-downport.jsonc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"global": {
"files": "/abap2UI5/**/*.*"
"files": "/downport/**/*.*"
},
"dependencies": [
{
"url": "https://github.com/abapedia/steampunk-2302-api",
"url": "https://github.com/open-abap/open-abap-core",
"folder": "/deps",
"files": "/src/**/*.*"
}
Expand Down
291 changes: 0 additions & 291 deletions output/#ui2#cl_json.clas.locals.mjs

This file was deleted.

10 changes: 0 additions & 10 deletions output/#ui2#cl_json.clas.locals.mjs.map

This file was deleted.

Loading