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
1 change: 0 additions & 1 deletion .github/scripts/publish-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ do
echo "🔑 Authenticated with GITHUB"
elif [[ $REGISTRY == 'NPM' ]]; then
npm config set @db-ui:registry https://registry.npmjs.org/
npm set //registry.npmjs.org/:_authToken "$NPM_TOKEN"
echo "🔑 Authenticated with NPM"
else
echo "Could not authenticate with $REGISTRY"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/03-publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
permissions:
id-token: write # Required for OIDC
contents: read
steps:
- name: ⬇ Checkout repo
uses: actions/checkout@v4
Expand All @@ -48,7 +49,6 @@ jobs:
PRE_RELEASE: ${{ inputs.preRelease }}
VALID_SEMVER_VERSION: ${{ inputs.version }}
GITHUB_COMMITISH: ${{ github.event.release.target_commitish }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GPR_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: ⬆ Upload Package Artifact db-ui-base
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
release:
types: [published]

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

jobs:
init:
uses: ./.github/workflows/00-init.yml
Expand Down
Loading