diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index f58ad0dd4b..28cb99b45b 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -200,8 +200,11 @@ jobs: - name: Install dependencies if: steps.node-modules-cache.outputs.cache-hit != 'true' run: make yarn-install - - name: publish - run: yarn run publishBeta + - name: Set Publish Auth + run: yarn config set npmAuthToken $NODE_AUTH_TOKEN working-directory: ${{ env.FRONTEND_DIR }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: publish + run: yarn run publishBeta + working-directory: ${{ env.FRONTEND_DIR }} diff --git a/tools/scaffolding/templates/gateway/frontend/.yarnrc.yml b/tools/scaffolding/templates/gateway/frontend/.yarnrc.yml new file mode 100644 index 0000000000..86f00c6595 --- /dev/null +++ b/tools/scaffolding/templates/gateway/frontend/.yarnrc.yml @@ -0,0 +1,9 @@ +enableColors: true + +networkConcurrency: "1," + +nodeLinker: node-modules + +npmRegistryServer: "https://registry.yarnpkg.com/" + +yarnPath: .yarn/releases/yarn-4.1.1.js