diff --git a/.github/actions/prepare-install/action.yml b/.github/actions/prepare-install/action.yml index 472661c62f2d..73fc2191a0dc 100644 --- a/.github/actions/prepare-install/action.yml +++ b/.github/actions/prepare-install/action.yml @@ -4,6 +4,10 @@ inputs: node-version: description: "The node version to setup" required: true + registry-url: + description: "Define registry-url" + required: false + # outputs: - no outputs runs: @@ -17,6 +21,7 @@ runs: uses: actions/setup-node@v3 with: node-version: ${{ inputs.node-version }} + registry-url: ${{ inputs.registry-url }} - name: Get yarn cache directory path shell: bash diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05d9a6b452f0..a2e01de99389 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -246,6 +246,7 @@ jobs: uses: ./.github/actions/prepare-install with: node-version: ${{ env.PRIMARY_NODE_VERSION }} + registry-url: "https://registry.npmjs.org" - name: Build uses: ./.github/actions/prepare-build