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/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ on:
- write
- verify

permissions:
id-token: write # Required for OIDC
contents: read

jobs:
deploy-sdk-package-to-npm:
name: Typescript SDK Build and Deploy
Expand All @@ -31,7 +35,8 @@ jobs:
uses: actions/setup-node@v7
with:
node-version: '24'
cache: npm
registry-url: 'https://registry.npmjs.org'
package-manager-cache: false # never use caching in release builds
# MockServer, which backs the functional tests, ships Java 17 bytecode.
# The runner defaults to Java 11, so pin the version the jar needs.
- name: Use Java
Expand All @@ -45,4 +50,3 @@ jobs:
run: scripts/publish-packages.sh -${PACKAGE_NAME}
env:
PACKAGE_NAME: ${{ inputs.chooseDeploy }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 0 additions & 2 deletions scripts/publish-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
# Simple script that bundles the publishing of packages,
# to be run from GitHub Actions

echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > ~/.npmrc

npm ci

while [[ $# -gt 0 ]]; do
Expand Down
Loading