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
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,10 @@ jobs:
- name: Build ui-common library
run: yarn build:lib

# Yarn 4 requires YARN_NPM_AUTH_TOKEN for registry auth.
# NODE_AUTH_TOKEN is set by actions/setup-node via OIDC.
# Publish using Yarn 4.12.0+ which supports OIDC trusted publishing.
# See: https://github.com/yarnpkg/berry/pull/6898
- name: Publish to npm registry
run: yarn workspace @cognizant-ai-lab/ui-common npm publish --tag ${{ steps.compute.outputs.dist_tag }} --provenance --access public
env:
YARN_NPM_AUTH_TOKEN: ${{ env.NODE_AUTH_TOKEN }}

- name: Summary
run: |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"start": "yarn workspace @cognizant-ai-lab/neuro-san-web start",
"test": "jest --config ./jest_unit.config.ts"
},
"packageManager": "yarn@4.9.4",
"packageManager": "yarn@4.12.0",
"devDependencies": {
"@babel/core": "7.23.7",
"@babel/preset-env": "7.28.3",
Expand Down