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
3 changes: 1 addition & 2 deletions .github/scripts/publish-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,11 @@ 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"
exit 1
fi
# https://docs.npmjs.com/generating-provenance-statements#example-github-actions-workflow
npm publish --tag "$TAG" db-ui-core-"$VALID_SEMVER_VERSION".tgz --provenance
npm publish --tag "$TAG" db-ui-core-"$VALID_SEMVER_VERSION".tgz
done
1 change: 0 additions & 1 deletion .github/workflows/03-publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,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-core
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
uses: ./.github/workflows/03-publish-packages.yml
needs: [lint, test, build, get-publish-version]
secrets: inherit
permissions:
id-token: write # Required for OIDC
with:
release: ${{ needs.get-publish-version.outputs.release }}
preRelease: ${{ needs.get-publish-version.outputs.preRelease }}
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22
24
Loading