From 46dd1ca84d1b3c33436990b82d88ee608aaa9595 Mon Sep 17 00:00:00 2001 From: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com> Date: Sat, 23 Nov 2024 14:15:10 +0100 Subject: [PATCH] Create ui5lint (#1566) * Create ui5lint * Rename ui5lint to ui5lint.yml * Create js_tranform.yml * Update ui5lint.yml * Update ui5lint.yml --- .github/workflows/js_tranform.yml | 22 ++++++++++++++++++++++ .github/workflows/ui5lint.yml | 19 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .github/workflows/js_tranform.yml create mode 100644 .github/workflows/ui5lint.yml diff --git a/.github/workflows/js_tranform.yml b/.github/workflows/js_tranform.yml new file mode 100644 index 00000000..60f38766 --- /dev/null +++ b/.github/workflows/js_tranform.yml @@ -0,0 +1,22 @@ +name: js_transform + +on: + push: + branches: ["main"] + + workflow_dispatch: + +jobs: + Code-Cleanup: + runs-on: ubuntu-latest + + steps: + - run: cd app + - run: npm run transform + + - name: Commit changes + uses: EndBug/add-and-commit@v9 + with: + default_author: github_actions + message: "abap js files created" + add: "src" diff --git a/.github/workflows/ui5lint.yml b/.github/workflows/ui5lint.yml new file mode 100644 index 00000000..5e4e9aa6 --- /dev/null +++ b/.github/workflows/ui5lint.yml @@ -0,0 +1,19 @@ +name: ui5lint + +on: + pull_request: + +permissions: + contents: read + +jobs: + test: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: '20.11.0' + - run: cd app && npm i + - run: npm install --global @ui5/linter && ui5lint --details