mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 02:58:20 +08:00
update
This commit is contained in:
parent
9bf744e481
commit
d18e1316aa
20
.github/workflows/auto_transpile.yaml
vendored
Normal file
20
.github/workflows/auto_transpile.yaml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: auto_transpile
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
auto_transpile:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '16'
|
||||
- run: npm ci
|
||||
- run: npm run downport
|
||||
- run: npm run auto_transpile
|
2
.github/workflows/test_node.yaml
vendored
2
.github/workflows/test_node.yaml
vendored
|
@ -17,5 +17,5 @@ jobs:
|
|||
node-version: '16'
|
||||
- run: npm ci
|
||||
- run: npm run downport
|
||||
- run: npm run transpile
|
||||
- run: npm run auto_transpile
|
||||
- run: npm run express
|
||||
|
|
2
.github/workflows/test_unit.yaml
vendored
2
.github/workflows/test_unit.yaml
vendored
|
@ -17,5 +17,5 @@ jobs:
|
|||
node-version: '16'
|
||||
- run: npm ci
|
||||
- run: npm run downport
|
||||
- run: npm run transpile
|
||||
- run: npm run auto_transpile
|
||||
- run: npm run unit
|
||||
|
|
|
@ -8,13 +8,12 @@
|
|||
"auto_downport": "abaplint --fix .github/abaplint/abap_702.jsonc && npm run syfixes",
|
||||
"auto_app2abap": "node .github/app2abap/trans2abap.js",
|
||||
"auto_abaplint": "npx abaplint .github/abaplint/auto_abaplint_fix.jsonc --fix",
|
||||
"auto_transpile": "cp node/srv/*.abap src && mkdir -p node/src && abap_transpile .github/abaplint/auto_transpile.jsonc ",
|
||||
"rename": "npm ci && abaplint .github/abaplint/rename_test.jsonc --rename",
|
||||
"express": "node node/srv/express.mjs",
|
||||
|
||||
"unit": "echo RUNNING && node output/index.mjs",
|
||||
"downport": "rm -rf node/downport && cp -r src node/downport && abaplint --fix ./node/ci/abaplint-downport.jsonc && npm run syfixes",
|
||||
"transpile": "rm -rf node/output && cp node/srv/*.abap node/downport && abap_transpile ./node/ci/abap_transpile.json",
|
||||
"auto_transpile": "rm -rf node/output && cp node/srv/*.abap node/downport && abap_transpile ./node/ci/abap_transpile.json",
|
||||
"build" : "npm ci && npm run downport && npm run transpile && rm -rf src"
|
||||
},
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in New Issue
Block a user