diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 566bb072..aab3f4a8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,6 +20,8 @@ jobs: with: node-version-file: '.nvmrc' cache: 'yarn' + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Install run: yarn install @@ -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 }} diff --git a/tools/scripts/publish.mjs b/tools/scripts/publish.mjs index 19f1f5b1..f91ccebf 100644 --- a/tools/scripts/publish.mjs +++ b/tools/scripts/publish.mjs @@ -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}` );