diff --git a/.github/actions/install-dependencies/action.yml b/.github/actions/install-dependencies/action.yml index 5859e91df1d..dfec3eec9ce 100644 --- a/.github/actions/install-dependencies/action.yml +++ b/.github/actions/install-dependencies/action.yml @@ -18,8 +18,13 @@ runs: key: ${{ runner.os }}-blade-${{ hashFiles('**/yarn.lock') }} # cache miss - install packages with `yarn --frozen-lockfile` - # cache hit - download packages from the cache + # cache hit - download packages from the cache and explicitly run postinstall script - name: install packages if cache miss run: yarn --frozen-lockfile shell: bash if: steps.cache.outputs.cache-hit != 'true' + + - name: Run postinstall script + run: yarn postinstall + shell: bash + if: steps.cache.outputs.cache-hit == 'true'