mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 20:36:46 +08:00
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:
parent
4a115007f1
commit
46dd1ca84d
22
.github/workflows/js_tranform.yml
vendored
Normal file
22
.github/workflows/js_tranform.yml
vendored
Normal 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
19
.github/workflows/ui5lint.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user