Skip to content

Commit

Permalink
ci: token
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdehaven committed Dec 21, 2023
1 parent 4f70a3c commit 1f78233
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ jobs:
- name: Publish Package Preview
id: package-preview
if: github.event_name == 'pull_request' && (github.actor != 'renovate[bot]' || contains(github.event.pull_request.labels.*.name, 'create preview package'))
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN_PUBLIC_PUBLISH }}
run: |
git config user.email "[email protected]"
git config user.name "Kong UI Bot"
Expand All @@ -64,7 +66,7 @@ jobs:
echo "preid=${preid}"
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN_PUBLIC_PUBLISH }}" > .npmrc
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
# Use yarn to bump the version for the prerelease
yarn version --prerelease --preid ${preid} --no-git-tag-version --yes --amend
Expand Down

0 comments on commit 1f78233

Please sign in to comment.