Create ui5lint (#1566)

* Create ui5lint

* Rename ui5lint to ui5lint.yml

* Create js_tranform.yml

* Update ui5lint.yml

* Update ui5lint.yml
This commit is contained in:
oblomov-dev 2024-11-23 14:15:10 +01:00 committed by GitHub
parent 4a115007f1
commit 46dd1ca84d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 41 additions and 0 deletions

22
.github/workflows/js_tranform.yml vendored Normal file
View File

@ -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"

19
.github/workflows/ui5lint.yml vendored Normal file
View File

@ -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