Skip to content

Commit 1ef7ab1

Browse files
committed
hotfix: always run build - fix filter
1 parent 110df88 commit 1ef7ab1

File tree

2 files changed

+8
-17
lines changed

2 files changed

+8
-17
lines changed

.github/workflows/build-and-analysis.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,8 @@ jobs:
6363
- name: Install NPM packages
6464
run: npm ci --no-audit --no-fund --omit=dev
6565

66-
- name: Build Next.js (Windows)
67-
if: matrix.os == 'windows-latest'
68-
run: npx turbo build --filter=$env:TURBO_REF_FILTER
69-
env:
70-
TURBO_FORCE: true
71-
NODE_OPTIONS: '--max_old_space_size=4096'
72-
NEXT_TELEMETRY_DISABLED: 1
73-
74-
- name: Build Next.js (Ubuntu)
75-
if: matrix.os == 'ubuntu-latest'
76-
run: npx turbo build --filter=$TURBO_REF_FILTER
66+
- name: Build Next.js
67+
run: npx turbo build
7768
env:
7869
TURBO_FORCE: true
7970
NODE_OPTIONS: '--max_old_space_size=4096'

.github/workflows/pull-request.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ jobs:
4848
run: npm ci --no-audit --no-fund
4949

5050
- name: Run Linting
51-
run: npx turbo lint --filter=$TURBO_REF_FILTER
51+
run: npx turbo lint --filter="...[$TURBO_REF_FILTER]"
5252

5353
- name: Run Prettier
54-
run: npx turbo prettier --filter=$TURBO_REF_FILTER
54+
run: npx turbo prettier --filter="...[$TURBO_REF_FILTER]"
5555

5656
unit-tests:
5757
name: Tests on ${{ matrix.os }}
@@ -94,16 +94,16 @@ jobs:
9494

9595
- name: Run Unit Tests (Windows)
9696
if: matrix.os == 'windows-latest'
97-
run: npx turbo test:unit --filter=$env:TURBO_REF_FILTER -- --coverage
97+
run: npx turbo test:unit --filter="...[$env:TURBO_REF_FILTER]" -- --coverage
9898

9999
- name: Run Unit Tests (Ubuntu)
100100
if: matrix.os == 'ubuntu-latest'
101-
run: npx turbo test:unit --filter=$TURBO_REF_FILTER -- --coverage
101+
run: npx turbo test:unit --filter="...[$TURBO_REF_FILTER]" -- --coverage
102102

103103
- name: Run Storybook Tests (Windows)
104104
if: matrix.os == 'windows-latest'
105-
run: npx turbo test:storybook --filter=$env:TURBO_REF_FILTER
105+
run: npx turbo test:storybook --filter="...[$env:TURBO_REF_FILTER]"
106106

107107
- name: Run Storybook Tests (Ubuntu)
108108
if: matrix.os == 'ubuntu-latest'
109-
run: npx turbo test:storybook --filter=$TURBO_REF_FILTER
109+
run: npx turbo test:storybook --filter="...[$TURBO_REF_FILTER]"

0 commit comments

Comments
 (0)