diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index c7015c60ef..f232932082 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -7,7 +7,9 @@ on: jobs: install-and-build: - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2204 + env: + NODE_OPTIONS: '--max-old-space-size=4096' timeout-minutes: 10 @@ -15,7 +17,7 @@ jobs: - uses: actions/checkout@v4.1.1 - run: corepack enable - - uses: actions/setup-node@v4.0.2 + - uses: useblacksmith/setup-node@v5 with: node-version: 20.x cache: pnpm @@ -24,13 +26,13 @@ jobs: run: pnpm install --frozen-lockfile - name: Setup build cache - uses: rharkor/caching-for-turbo@v1.5 + uses: useblacksmith/caching-for-turbo@v1 - name: Build run: pnpm build - name: Cache build artifacts - uses: actions/cache/save@v4.0.0 + uses: useblacksmith/cache/save@v5 with: path: ./packages/**/dist key: ${{ github.sha }}-base:build diff --git a/.github/workflows/linting-reusable.yml b/.github/workflows/linting-reusable.yml index 287ba270c9..c1e2b996f4 100644 --- a/.github/workflows/linting-reusable.yml +++ b/.github/workflows/linting-reusable.yml @@ -47,6 +47,7 @@ jobs: with: path: ./packages/**/dist key: ${{ inputs.cacheKey }} + fail-on-cache-miss: true - name: Lint Backend run: pnpm lint:backend diff --git a/.github/workflows/units-tests-reusable.yml b/.github/workflows/units-tests-reusable.yml index 312f3a8807..efa256a3f9 100644 --- a/.github/workflows/units-tests-reusable.yml +++ b/.github/workflows/units-tests-reusable.yml @@ -70,6 +70,7 @@ jobs: with: path: ./packages/**/dist key: ${{ inputs.cacheKey }} + fail-on-cache-miss: true - name: Test Backend run: pnpm test:backend