File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3939 echo " 🔑 Authenticated with GITHUB"
4040 elif [[ $REGISTRY == ' NPM' ]]; then
4141 npm config set @db-ui:registry https://registry.npmjs.org/
42- npm set //registry.npmjs.org/:_authToken " $NPM_TOKEN "
4342 echo " 🔑 Authenticated with NPM"
4443 else
4544 echo " Could not authenticate with $REGISTRY "
4645 exit 1
4746 fi
4847 # https://docs.npmjs.com/generating-provenance-statements#example-github-actions-workflow
49- npm publish --tag " $TAG " db-ui-base-" $VALID_SEMVER_VERSION " .tgz --provenance
48+ npm publish --tag " $TAG " db-ui-base-" $VALID_SEMVER_VERSION " .tgz
5049done
Original file line number Diff line number Diff line change 4848 PRE_RELEASE : ${{ inputs.preRelease }}
4949 VALID_SEMVER_VERSION : ${{ inputs.version }}
5050 GITHUB_COMMITISH : ${{ github.event.release.target_commitish }}
51- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
5251 GPR_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5352
5453 - name : ⬆ Upload Package Artifact db-ui-base
Original file line number Diff line number Diff line change 4040 uses : ./.github/workflows/03-publish-packages.yml
4141 needs : [lint, build, get-publish-version]
4242 secrets : inherit
43+ permissions :
44+ id-token : write # Required for OIDC
4345 with :
4446 release : ${{ needs.get-publish-version.outputs.release }}
4547 preRelease : ${{ needs.get-publish-version.outputs.preRelease }}
Original file line number Diff line number Diff line change 1- 22
1+ 24
You can’t perform that action at this time.
0 commit comments