Skip to content
Merged
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
8 changes: 6 additions & 2 deletions .github/workflows/publish-lowcoder-comps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,15 @@ jobs:
- name: Set up npm for trusted publishing
if: steps.check.outputs.changed == 'true'
# OIDC requires npm >=11.5.1. Pin npm 11 to avoid npm 12 install-policy changes.
run: npm install --global npm@11.21.0 --registry=https://registry.npmjs.org/
run: |
npm install --global npm@11.21.0 --registry=https://registry.npmjs.org/
npm --version

- name: Publish package to npm with OIDC
if: steps.check.outputs.changed == 'true'
run: npm publish --access public --registry=https://registry.npmjs.org/
# npm hides OIDC token-exchange failures behind ENEEDAUTH at its default
# log level. Show the registry's reason so publisher settings can be fixed.
run: npm publish --access public --registry=https://registry.npmjs.org/ --loglevel=verbose
# lowcoder-cli writes the compiled package here; publishing the source
# workspace would omit the generated component entry point.
working-directory: client/packages/lowcoder-cli/.out
8 changes: 6 additions & 2 deletions .github/workflows/publish-lowcoder-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,13 @@ jobs:
- name: Set up npm for trusted publishing
if: steps.check.outputs.changed == 'true'
# OIDC requires npm >=11.5.1. Pin npm 11 to avoid npm 12 install-policy changes.
run: npm install --global npm@11.21.0 --registry=https://registry.npmjs.org/
run: |
npm install --global npm@11.21.0 --registry=https://registry.npmjs.org/
npm --version

- name: Publish package to npm with OIDC
if: steps.check.outputs.changed == 'true'
run: npm publish --access public --registry=https://registry.npmjs.org/
# npm hides OIDC token-exchange failures behind ENEEDAUTH at its default
# log level. Show the registry's reason so publisher settings can be fixed.
run: npm publish --access public --registry=https://registry.npmjs.org/ --loglevel=verbose
working-directory: client/packages/lowcoder-sdk
4 changes: 3 additions & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
- name: Build Java
run: |
mvn clean compile -DskipTests -f ./server/api-service/pom.xml
# Downstream modules need the SDK's shared test-helper JAR, which is
# attached during package. Keep test compilation enabled for that JAR.
mvn --batch-mode --no-transfer-progress clean package -DskipTests -f ./server/api-service/pom.xml
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
Expand Down
Loading