Skip to content

Commit 9171783

Browse files
authored
compile all and run tests (#10)
1 parent 0f43778 commit 9171783

File tree

1,832 files changed

+26
-212747
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,832 files changed

+26
-212747
lines changed

.github/workflows/build_web.yaml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: build_web
22

33
on:
44
workflow_dispatch:
5+
pull_request:
56
schedule:
67
- cron: '0 8 * * *'
78

@@ -10,23 +11,8 @@ jobs:
1011
runs-on: ubuntu-latest
1112
timeout-minutes: 10
1213
steps:
13-
- uses: actions/checkout@v3
14-
- uses: actions/setup-node@v3
15-
with:
16-
node-version: 20
17-
- run: git clone https://github.com/abap2UI5/abap2UI5.git
18-
- run: git clone https://github.com/abap2UI5/abap2UI5-samples.git
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
1916
- run: npm ci
20-
- run: npm run downport
21-
- run: npm run downport_samples
22-
- run: npm run transpile
23-
- name: send to downport repository
24-
uses: peaceiris/actions-gh-pages@v3
25-
with:
26-
external_repository: abap2UI5/abap2UI5-web
27-
user_name: 'github-actions[bot]'
28-
user_email: 'github-actions[bot]@users.noreply.github.com'
29-
publish_branch: main
30-
publish_dir: ./output
31-
deploy_key: ${{ secrets.DEPLOY_KEY }}
32-
destination_dir: output
17+
- run: npm run clone
18+
- run: npm run unit

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
node_modules
22
downport
3+
abap2UI5
4+
abap2UI5-samples
5+
output
6+
src

abap_transpile.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
"addCommonJS": true,
1818
"extraSetup": "../test/setup.mjs",
1919
"unknownTypes": "runtimeError",
20-
"keywords": ["return", "in", "class", "for", "delete"],
21-
"skip": []
20+
"keywords": ["return", "in", "class", "for", "delete", "var"],
21+
"skip": [
22+
{"object": "Z2UI5_CL_AJSON", "class": "ltcl_parser_test", "method": "parse_error", "note": "NodeJS 20 does not set position of parsing error"}
23+
]
2224
}
2325
}

abaplint-downport-samples.jsonc

Lines changed: 0 additions & 36 deletions
This file was deleted.

abaplint-downport.jsonc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"global": {
3-
"files": "/abap2UI5/**/*.*"
3+
"files": "/downport/**/*.*"
44
},
55
"dependencies": [
66
{
7-
"url": "https://github.com/abapedia/steampunk-2302-api",
7+
"url": "https://github.com/open-abap/open-abap-core",
88
"folder": "/deps",
99
"files": "/src/**/*.*"
1010
}

output/#ui2#cl_json.clas.locals.mjs

Lines changed: 0 additions & 291 deletions
This file was deleted.

output/#ui2#cl_json.clas.locals.mjs.map

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)