Skip to content

Commit

Permalink
fix(deps): update, also for btp auth (#656)
Browse files Browse the repository at this point in the history
  • Loading branch information
vobu authored Feb 6, 2025
1 parent 3c5ec06 commit c2636a7
Show file tree
Hide file tree
Showing 13 changed files with 33,913 additions and 4,958 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name: "CodeQL"
on:
pull_request:
# The branches below must be a subset of the branches above
branches: [main, main-v2]
branches: [main]
schedule:
- cron: "43 16 * * 4"

Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,24 @@ on:
push:
branches:
- main
- main-v2
pull_request:
branches:
- main
- main-v2

jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 22
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- name: tmp install prettier + eslint
run: npm i prettier eslint
run: npm i prettier eslint@8
- name: lint things
run: |
node_modules/.bin/prettier --debug-check client-side-js src docs
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/publish-btp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
build-sample-ts-app:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: "npm"
cache-dependency-path: "**/package-lock.json"
registry-url: https://registry.npmjs.org/
Expand All @@ -25,7 +25,7 @@ jobs:
# let's check where we are
- run: pwd
- name: provide mtar
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: mtar
path: examples/ui5-ts-app/mta_archives/ui5-approuter_1.0.0.mtar
Expand All @@ -35,9 +35,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: get mtar
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: mtar

- name: check directory
run: ls -la

- name: deploy to BTP
uses: elliottpope/cloudfoundry-cli-action@v6
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/wdi5-tests_core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
pull_request:
branches:
- main
- main-v2
paths:
# relevant
- "client-side-js/**"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/wdi5-tests_fe-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
pull_request:
branches:
- main
- main-v2
paths:
# relevant
- "client-side-js/**"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/wdi5-tests_js-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
pull_request:
branches:
- main
- main-v2

paths:
# relevant
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/wdi5-tests_ts-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
pull_request:
branches:
- main
- main-v2
paths:
# relevant
- "client-side-js/**"
Expand Down
4 changes: 1 addition & 3 deletions client-side-js/allControls.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@ async function clientSide_allControls(controlSelector, browserInstance) {
.findAllDOMElementsByControlSelector(controlSelector)
.then((domElements) => {
// window.wdi5.Log.info('[browser wdi5] control located! - Message: ' + JSON.stringify(domElement));
// ui5 control
let returnElements = []
domElements.forEach((domElement) => {
const ui5Control = window.wdi5.getUI5CtlForWebObj(domElement)
const id = ui5Control.getId()
window.wdi5.Log.info(`[browser wdi5] control with id: ${id} located!`)
const aProtoFunctions = window.wdi5.retrieveControlMethods(ui5Control)
// @type [String, String?, String, "Array of Strings"]
returnElements.push({ domElement: domElement, id: id, aProtoFunctions: aProtoFunctions })
returnElements.push({ domElement, id, aProtoFunctions })
})

done({ status: 0, result: returnElements })
Expand Down
2 changes: 1 addition & 1 deletion examples/cap-bookshop-wdi5
Loading

0 comments on commit c2636a7

Please sign in to comment.