diff --git a/.github/workflows/api-v1-production-build.yml b/.github/workflows/api-v1-production-build.yml index 8f59aa5480f2c8..26d08fa9e8073d 100644 --- a/.github/workflows/api-v1-production-build.yml +++ b/.github/workflows/api-v1-production-build.yml @@ -75,15 +75,12 @@ jobs: cache-name: api-v1-build key-1: ${{ hashFiles('yarn.lock') }} key-2: ${{ hashFiles('apps/api/v1/**.[jt]s', 'apps/api/v1/**.[jt]sx', '!**/node_modules') }} - key-3: ${{ github.event.pull_request.number || github.ref }} - # Ensures production-build.yml will always be fresh - key-4: ${{ github.sha }} with: path: | ${{ github.workspace }}/apps/api/v1/.next **/.turbo/** **/dist/** - key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}-${{ env.key-3 }}-${{ env.key-4 }} + key: ${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }} - name: Log Cache Hit if: steps.cache-api-v1-build.outputs.cache-hit == 'true' run: echo "Cache hit for API v1 build. Skipping build." diff --git a/biome.json b/biome.json index a2d3ced80c34b1..96783919f24126 100644 --- a/biome.json +++ b/biome.json @@ -148,7 +148,7 @@ "rules": { "style": { "noRestrictedImports": { - "level": "warn", + "level": "error", "options": { "patterns": [ { @@ -180,7 +180,7 @@ "rules": { "style": { "noRestrictedImports": { - "level": "warn", + "level": "error", "options": { "patterns": [ { @@ -204,7 +204,7 @@ "rules": { "style": { "noRestrictedImports": { - "level": "warn", + "level": "error", "options": { "patterns": [ { @@ -224,7 +224,7 @@ "rules": { "style": { "noRestrictedImports": { - "level": "warn", + "level": "error", "options": { "patterns": [ {