From 8a6cb2e1cfd9ba5ddf03079bb592d590412bd456 Mon Sep 17 00:00:00 2001 From: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com> Date: Wed, 19 Feb 2025 22:09:52 +0000 Subject: [PATCH] update --- .github/workflows/test_browser.yaml | 4 +--- package.json | 7 +++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test_browser.yaml b/.github/workflows/test_browser.yaml index 23e88893..9ab42199 100644 --- a/.github/workflows/test_browser.yaml +++ b/.github/workflows/test_browser.yaml @@ -12,10 +12,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version: lts/* - - name: Setup - run: git clone https://github.com/abap2UI5/abap2UI5-setup.git && cp -r abap2UI5-setup/* . && npm i - name: Install dependencies - run: npm run build + run: npm run auto_downport && npm run auto_transpile - name: Install Playwright Browsers run: npx playwright install --with-deps # - name: Run Playwright tests diff --git a/package.json b/package.json index 14df3112..dfc9624e 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,11 @@ "auto_downport": "abaplint --fix .github/abaplint/abap_702.jsonc && npm run syfixes && cp -r src node/downport", "auto_app2abap": "node .github/app2abap/trans2abap.js", "auto_abaplint": "npx abaplint .github/abaplint/auto_abaplint_fix.jsonc --fix", + "auto_transpile": "rm -rf node/output && cp node/srv/*.abap node/downport && abap_transpile ./node/ci/abap_transpile.json", + "rename": "npm ci && abaplint .github/abaplint/rename_test.jsonc --rename", "express": "node node/srv/express.mjs", - - "unit": "echo RUNNING && node output/index.mjs", - "downport_backup": "rm -rf node/downport && cp -r src node/downport && abaplint --fix ./node/ci/abaplint-downport.jsonc && npm run syfixes", - "auto_transpile": "rm -rf node/output && cp node/srv/*.abap node/downport && abap_transpile ./node/ci/abap_transpile.json" + "unit": "echo RUNNING && node output/index.mjs" }, "repository": {