Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ inputs:
description: 'The registry URL to use for npm packages. Defaults to the SAP Artifactory mirror when npm-token is provided, otherwise npmjs.'
registry-token:
description: 'The auth token for the npm registry'
pnpm-version:
description: 'PNPM version'
default: '11'
pnpm-install-args:
description: 'Arguments to pass to pnpm install'
default: '--frozen-lockfile'
Expand Down Expand Up @@ -43,9 +40,7 @@ runs:
token: ${{ inputs.token }}
persist-credentials: ${{ inputs.persist-credentials }}
- name: Setup pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
with:
version: ${{ inputs.pnpm-version }}
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
- name: Resolve registry URL
id: resolve-registry-url
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/api-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
contents: read
runs-on: ubuntu-latest
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be reverted

with:
registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-dependabot-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
owner: SAP
repositories: cloud-sdk-js
permission-contents: write
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot
with:
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ steps.app-token.outputs.token }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
owner: SAP
repositories: cloud-sdk-js
permission-contents: write
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot
with:
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ steps.app-token.outputs.token }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
matrix:
node-version: [22, 24]
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot
with:
node-version: ${{ matrix.node-version }}
registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }}
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
permissions:
contents: read
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot
with:
registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }}
- name: REUSE Compliance Check
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
permissions:
contents: read
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot
with:
registry-url: 'https://registry.npmjs.org'
skip-build: 'true'
Expand All @@ -122,7 +122,7 @@ jobs:
permissions:
contents: read
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot
with:
registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }}
- run: pnpm run test:e2e
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
REF_NAME: ${{ github.ref_name }}
REF: ${{ github.ref }}
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot
with:
registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }}
- name: Check if latest commit is within 24 hrs
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
contents: read
id-token: write
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot
with:
persist-credentials: true
node-version: 24 # Will install npm 11 needed for trusted publishing
Expand All @@ -217,7 +217,7 @@ jobs:
permissions:
contents: write
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot
with:
registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }}
- name: Get Changelog
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
owner: SAP
repositories: cloud-sdk-js
permission-contents: write
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot
with:
token: ${{ steps.app-token.outputs.token }}
ref: 'main'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/downloads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
permissions:
contents: read
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot
with:
registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }}
- name: Download Stats
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/memory-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
permissions:
contents: read
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot
with:
registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }}
- name: start e2e tests server
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
repositories: cloud-sdk
permission-contents: write
permission-pull-requests: write
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot
with:
ref: 'main'
persist-credentials: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
permissions:
contents: read
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot
with:
registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }}
- run: pnpm run test:unit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typedoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
permissions:
contents: read
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot
with:
registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }}
- run: pnpm run doc
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
"tsd": {
"directory": "test-packages/type-tests/test-new"
},
"devEngines": {
"packageManager": {
"name": "pnpm",
"version": "^11.0",
"onFail": "warn"

@davidkna-sap davidkna-sap Jul 10, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

error (the default) would make any npm commands fail (such as npm publish or npm info)

}
},
"scripts": {
"postinstall": "pnpm run compile",
"compile": "turbo run compile",
Expand Down
199 changes: 199 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading