diff --git a/.github/workflows/generate-preview-link.yml b/.github/workflows/generate-preview-link.yml index 3fdccdab577..9be9c28e31c 100644 --- a/.github/workflows/generate-preview-link.yml +++ b/.github/workflows/generate-preview-link.yml @@ -93,7 +93,11 @@ jobs: - name: Create npmrc file shell: bash - run: echo '//npm.pkg.github.com/:_authToken=${{ secrets.READ_DERIV_COM_ORG_PACKAGES }}' > .npmrc + run: echo "@deriv-com:registry=https://npm.pkg.github.com" >> .npmrc + + - name: Setup install read-only token for deriv-com org + shell: bash + run: echo '//npm.pkg.github.com/:_authToken=${{ secrets.READ_DERIV_COM_ORG_PACKAGES }}' >> .npmrc - name: Get build output from master cache uses: actions/cache/restore@v3