Skip to content

Commit

Permalink
chore: setup npm auth
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOrangePuff committed Oct 29, 2024
1 parent ac8f76e commit 56e2af2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
with:
node-version-file: '.nvmrc'
cache: 'yarn'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Install
run: yarn install
Expand All @@ -37,7 +39,6 @@ jobs:
echo "Publishing $PACKAGE @ $VERSION"
yarn nx publish $PACKAGE --ver=$VERSION --tag=latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
BC_CLIENT_ID: ${{ secrets.BC_CLIENT_ID }}
BC_CLIENT_SECRET: ${{ secrets.BC_CLIENT_SECRET }}
BC_GRAPHQL_API: ${{ secrets.BC_GRAPHQL_API }}
Expand Down
2 changes: 1 addition & 1 deletion tools/scripts/publish.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ try {

// Execute "npm publish" to publish
execSync(
`npm publish --access restricted --registry https://npm.corp.aligent.consulting/ --tag ${tag}`
`npm publish --verbose --access restricted --registry https://npm.corp.aligent.consulting/ --tag ${tag}`
);

0 comments on commit 56e2af2

Please sign in to comment.