diff --git a/.github/workflows/nut.yml b/.github/workflows/nut.yml index c1a0ad2..cfe837a 100644 --- a/.github/workflows/nut.yml +++ b/.github/workflows/nut.yml @@ -65,8 +65,8 @@ jobs: - uses: actions/checkout@v4 - # - uses: google/wireit@setup-github-actions-caching/v2 - # continue-on-error: true + - uses: google/wireit@setup-github-actions-caching/v2 + continue-on-error: true - uses: actions/setup-node@v4 with: @@ -91,6 +91,12 @@ jobs: - uses: salesforcecli/github-workflows/.github/actions/yarnInstallWithRetries@main if: ${{ steps.cache-nodemodules.outputs.cache-hit != 'true' }} + # This is a temporary workaround to ensure wireit is >= 0.14.12 + # Once all plugins/libs that use this workflow are updated, this can be removed + # See: https://github.com/google/wireit/issues/1297#issuecomment-2794737569 + - name: Install wireit + run: yarn add wireit@^0.14.12 + - run: yarn compile - name: Check that oclif config exists diff --git a/.github/workflows/unitTestsLinux.yml b/.github/workflows/unitTestsLinux.yml index 9d5ccec..169818f 100644 --- a/.github/workflows/unitTestsLinux.yml +++ b/.github/workflows/unitTestsLinux.yml @@ -38,8 +38,8 @@ jobs: node-version: ${{ matrix.node_version }} cache: yarn - # - uses: google/wireit@setup-github-actions-caching/v2 - # continue-on-error: true + - uses: google/wireit@setup-github-actions-caching/v2 + continue-on-error: true - name: Cache node modules id: cache-nodemodules @@ -53,6 +53,12 @@ jobs: - uses: salesforcecli/github-workflows/.github/actions/yarnInstallWithRetries@main if: ${{ steps.cache-nodemodules.outputs.cache-hit != 'true' }} + # This is a temporary workaround to ensure wireit is >= 0.14.12 + # Once all plugins/libraries that use this workflow are updated, this can be removed + # See: https://github.com/google/wireit/issues/1297#issuecomment-2794737569 + - name: Install wireit + run: yarn add wireit@^0.14.12 + - run: yarn build - name: yarn test diff --git a/.github/workflows/unitTestsWindows.yml b/.github/workflows/unitTestsWindows.yml index 6ae3f7c..4021897 100644 --- a/.github/workflows/unitTestsWindows.yml +++ b/.github/workflows/unitTestsWindows.yml @@ -25,8 +25,8 @@ jobs: - uses: actions/checkout@v4 - # - uses: google/wireit@setup-github-actions-caching/v2 - # continue-on-error: true + - uses: google/wireit@setup-github-actions-caching/v2 + continue-on-error: true - uses: actions/setup-node@v4 with: @@ -45,6 +45,12 @@ jobs: - uses: salesforcecli/github-workflows/.github/actions/yarnInstallWithRetries@main if: ${{ steps.cache-nodemodules.outputs.cache-hit != 'true' }} + # This is a temporary workaround to ensure wireit is >= 0.14.12 + # Once all plugins/libraries that use this workflow are updated, this can be removed + # See: https://github.com/google/wireit/issues/1297#issuecomment-2794737569 + - name: Install wireit + run: yarn add wireit@^0.14.12 + - run: yarn build - name: yarn test