diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index 5c37181dce8..58e0a661e6f 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -986,8 +986,18 @@ jobs: mkdir -p /tmp/android-sdk-dummy npm run postinstall + # The binary comes from the package's install script and isn't in the + # node_modules cache. - name: Link environment linter executable - run: npm run rebuild -w @audius/dotenv-linter + run: | + if [[ ! -f packages/dotenv-linter/bin/dotenv-linter ]]; then + (cd packages/dotenv-linter && npm run install) + fi + npm run rebuild -w @audius/dotenv-linter + + # eslint resolves @audius/* imports through their dist builds. + - name: Build workspace dependencies + run: npx turbo run build --filter='embed^...' - name: Verify embed working-directory: packages/embed