diff --git a/.github/workflows/deploy_docker-image.yml b/.github/workflows/deploy_docker-image.yml index f61c51ab32..90ea8e13f1 100644 --- a/.github/workflows/deploy_docker-image.yml +++ b/.github/workflows/deploy_docker-image.yml @@ -56,7 +56,7 @@ jobs: ${{ runner.os }}-yarn- - name: yarn install if: steps.cache-modules.outputs.cache-hit != 'true' - run: yarn install --frozen-lockfile + run: yarn install --immutable # End of yarn setup - name: create-app diff --git a/.github/workflows/deploy_microsite.yml b/.github/workflows/deploy_microsite.yml index 7a046f3c56..fb99f41c55 100644 --- a/.github/workflows/deploy_microsite.yml +++ b/.github/workflows/deploy_microsite.yml @@ -29,12 +29,12 @@ jobs: # dependencies and the microsite. We leave it to the main master workflow to produce the # cache, as that results in a smaller bundle. - name: top-level yarn install - run: yarn install --frozen-lockfile + run: yarn install --immutable - name: microsite yarn install - run: yarn install --frozen-lockfile + run: yarn install --immutable working-directory: microsite - name: storybook yarn install - run: yarn install --frozen-lockfile + run: yarn install --immutable working-directory: storybook - name: build API reference diff --git a/.github/workflows/sync_version-packages.yml b/.github/workflows/sync_version-packages.yml index 926906338f..5aa12fe6b5 100644 --- a/.github/workflows/sync_version-packages.yml +++ b/.github/workflows/sync_version-packages.yml @@ -14,7 +14,7 @@ jobs: fetch-depth: 0 token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }} - name: Install Dependencies - run: yarn --frozen-lockfile + run: yarn --immutable - name: Create Release Pull Request uses: backstage/changesets-action@v2 with: diff --git a/.github/workflows/verify_e2e-techdocs.yml b/.github/workflows/verify_e2e-techdocs.yml index c8f825796b..e62a9040a6 100644 --- a/.github/workflows/verify_e2e-techdocs.yml +++ b/.github/workflows/verify_e2e-techdocs.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/setup-python@v3 - name: install dependencies - run: yarn install --frozen-lockfile + run: yarn install --immutable - name: generate types run: yarn tsc diff --git a/.github/workflows/verify_e2e-windows.yml b/.github/workflows/verify_e2e-windows.yml index 934ef8f06c..3bc41a9eeb 100644 --- a/.github/workflows/verify_e2e-windows.yml +++ b/.github/workflows/verify_e2e-windows.yml @@ -48,7 +48,7 @@ jobs: - name: setup chrome uses: browser-actions/setup-chrome@latest - name: yarn install - run: yarn install --frozen-lockfile + run: yarn install --immutable - run: yarn tsc - run: yarn backstage-cli repo build diff --git a/.github/workflows/verify_microsite.yml b/.github/workflows/verify_microsite.yml index bd091b857e..7c9ae9f105 100644 --- a/.github/workflows/verify_microsite.yml +++ b/.github/workflows/verify_microsite.yml @@ -29,7 +29,7 @@ jobs: # Skip caching of microsite dependencies, it keeps the global cache size # smaller, which make Windows builds a lot faster for the rest of the project. - name: yarn install - run: yarn install --frozen-lockfile + run: yarn install --immutable working-directory: microsite - name: prettier diff --git a/.github/workflows/verify_storybook.yml b/.github/workflows/verify_storybook.yml index 9c6e693ba4..63e857f19a 100644 --- a/.github/workflows/verify_storybook.yml +++ b/.github/workflows/verify_storybook.yml @@ -39,7 +39,7 @@ jobs: with: cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }} - name: storybook yarn install - run: yarn install --frozen-lockfile + run: yarn install --immutable working-directory: storybook - run: yarn build-storybook diff --git a/.github/workflows/verify_windows.yml b/.github/workflows/verify_windows.yml index e286d42c7e..93a248df16 100644 --- a/.github/workflows/verify_windows.yml +++ b/.github/workflows/verify_windows.yml @@ -34,7 +34,7 @@ jobs: # Windows file operation slowness means there's no point caching this - name: yarn install - run: yarn install --frozen-lockfile + run: yarn install --immutable - name: lint run: yarn backstage-cli repo lint diff --git a/.tugboat/config.yml b/.tugboat/config.yml index 883708bef7..1d06e39152 100644 --- a/.tugboat/config.yml +++ b/.tugboat/config.yml @@ -10,7 +10,7 @@ services: - echo "yarn --cwd ${TUGBOAT_ROOT} start-backend --config ${TUGBOAT_ROOT}/app-config.yaml --config ${TUGBOAT_ROOT}/.tugboat/tugboat.app-config.production.yaml" >> /etc/service/node/run - chmod +x /etc/service/node/run build: - - yarn install --frozen-lockfile + - yarn install --immutable - yarn workspace example-app build start: # wget the endpoint. Will retry every 2 seconds. 30 retries = 1m for service to come up. Plenty.