mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 17:26:10 +08:00
38 lines
730 B
YAML
38 lines
730 B
YAML
name: js_transform
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
Code-Cleanup:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set Up Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: '16'
|
|
|
|
- name: Install Dependencies
|
|
run: |
|
|
cd app
|
|
npm install
|
|
npm install --global abaplint
|
|
|
|
- name: Run JS Transformation
|
|
run: |
|
|
cd app
|
|
npm run transform
|
|
|
|
- name: Commit Changes
|
|
uses: EndBug/add-and-commit@v9
|
|
with:
|
|
default_author: github_actions
|
|
message: "abap js files created"
|
|
add: "src"
|