Skip to content

Commit c2636a7

Browse files
authored
fix(deps): update, also for btp auth (#656)
1 parent 3c5ec06 commit c2636a7

13 files changed

+33913
-4958
lines changed

.github/workflows/codeql-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ name: "CodeQL"
1414
on:
1515
pull_request:
1616
# The branches below must be a subset of the branches above
17-
branches: [main, main-v2]
17+
branches: [main]
1818
schedule:
1919
- cron: "43 16 * * 4"
2020

.github/workflows/lint.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,24 @@ on:
88
push:
99
branches:
1010
- main
11-
- main-v2
1211
pull_request:
1312
branches:
1413
- main
15-
- main-v2
1614

1715
jobs:
1816
run-linters:
1917
name: Run linters
2018
runs-on: ubuntu-latest
2119

2220
steps:
23-
- uses: actions/checkout@v3
24-
- uses: actions/setup-node@v3
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-node@v4
2523
with:
26-
node-version: 16
24+
node-version: 22
2725
cache: "npm"
2826
cache-dependency-path: "**/package-lock.json"
2927
- name: tmp install prettier + eslint
30-
run: npm i prettier eslint
28+
run: npm i prettier eslint@8
3129
- name: lint things
3230
run: |
3331
node_modules/.bin/prettier --debug-check client-side-js src docs

.github/workflows/publish-btp.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
build-sample-ts-app:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-node@v3
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 18
17+
node-version: 20
1818
cache: "npm"
1919
cache-dependency-path: "**/package-lock.json"
2020
registry-url: https://registry.npmjs.org/
@@ -25,7 +25,7 @@ jobs:
2525
# let's check where we are
2626
- run: pwd
2727
- name: provide mtar
28-
uses: actions/upload-artifact@v3
28+
uses: actions/upload-artifact@v4
2929
with:
3030
name: mtar
3131
path: examples/ui5-ts-app/mta_archives/ui5-approuter_1.0.0.mtar
@@ -35,9 +35,13 @@ jobs:
3535
runs-on: ubuntu-latest
3636
steps:
3737
- name: get mtar
38-
uses: actions/download-artifact@v3
38+
uses: actions/download-artifact@v4
3939
with:
4040
name: mtar
41+
42+
- name: check directory
43+
run: ls -la
44+
4145
- name: deploy to BTP
4246
uses: elliottpope/cloudfoundry-cli-action@v6
4347
with:

.github/workflows/wdi5-tests_core.yml

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ on:
33
pull_request:
44
branches:
55
- main
6-
- main-v2
76
paths:
87
# relevant
98
- "client-side-js/**"

.github/workflows/wdi5-tests_fe-app.yml

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ on:
33
pull_request:
44
branches:
55
- main
6-
- main-v2
76
paths:
87
# relevant
98
- "client-side-js/**"

.github/workflows/wdi5-tests_js-app.yml

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- main-v2
87

98
paths:
109
# relevant

.github/workflows/wdi5-tests_ts-app.yml

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- main-v2
87
paths:
98
# relevant
109
- "client-side-js/**"

client-side-js/allControls.cjs

+1-3
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@ async function clientSide_allControls(controlSelector, browserInstance) {
1515
.findAllDOMElementsByControlSelector(controlSelector)
1616
.then((domElements) => {
1717
// window.wdi5.Log.info('[browser wdi5] control located! - Message: ' + JSON.stringify(domElement));
18-
// ui5 control
1918
let returnElements = []
2019
domElements.forEach((domElement) => {
2120
const ui5Control = window.wdi5.getUI5CtlForWebObj(domElement)
2221
const id = ui5Control.getId()
2322
window.wdi5.Log.info(`[browser wdi5] control with id: ${id} located!`)
2423
const aProtoFunctions = window.wdi5.retrieveControlMethods(ui5Control)
25-
// @type [String, String?, String, "Array of Strings"]
26-
returnElements.push({ domElement: domElement, id: id, aProtoFunctions: aProtoFunctions })
24+
returnElements.push({ domElement, id, aProtoFunctions })
2725
})
2826

2927
done({ status: 0, result: returnElements })

0 commit comments

Comments
 (0)