55
66permissions :
77 contents : read
8-
8+
99jobs :
1010 lint :
1111 name : Linting
@@ -31,26 +31,28 @@ jobs:
3131 - uses : ./.github/actions/setup
3232 - name : build types
3333 run : pnpm build:types
34- - name : Check published and internal types
35- run : pnpm type-check
36-
34+ - name : Check internal types
35+ run : pnpm type-check:internals
36+ - name : Check published types
37+ run : pnpm type-check:types
38+
3739 types-range :
3840 name : Type Checking (other supported versions)
3941 runs-on : ubuntu-latest
40- needs : [ ' types' ]
42+ needs : [" types" ]
4143 strategy :
4244 matrix :
43- ts-version : [ ' 5.2', ' 5.3', ' 5.4', ' 5.5', ' 5.6', ' 5.7', ' 5.8', ' 5.9' ]
45+ ts-version : [" 5.2", " 5.3", " 5.4", " 5.5", " 5.6", " 5.7", " 5.8", " 5.9" ]
4446 steps :
4547 - uses : actions/checkout@v4
4648 - uses : ./.github/actions/setup
4749 - name : build stable type definitions
4850 run : pnpm build:types
4951 - name : install TS@${{matrix.ts-version}}
5052 run : pnpm add --save-dev --workspace-root typescript@${{ matrix.ts-version }}
51- - name : Check published and internal types with TS@${{matrix.ts-version}}
52- run : pnpm type-check
53-
53+ - name : Check published types
54+ run : pnpm type-check:types
55+
5456 basic-test :
5557 name : Basic Test
5658 runs-on : ubuntu-latest
@@ -59,14 +61,17 @@ jobs:
5961 - uses : ./.github/actions/setup
6062 - name : build
6163 run : pnpm vite build --mode=development
64+ env :
65+ NODE_ENV : development
6266 - name : test
6367 run : pnpm test
64-
68+
6569 variant-tests :
6670 name : ${{ matrix.name }}
6771 runs-on : ubuntu-latest
68- needs : [ basic-test, lint, types ]
72+ needs : [basic-test, lint, types]
6973 strategy :
74+ fail-fast : false
7075 matrix :
7176 include :
7277 - name : " All deprecations enabled"
9095 - uses : ./.github/actions/setup
9196 - name : build
9297 run : pnpm vite build --mode=${{ matrix.BUILD || 'development' }}
98+ env :
99+ NODE_ENV : ${{ matrix.BUILD || 'development' }}
93100 - name : test
94101 env :
95102 ALL_DEPRECATIONS_ENABLED : ${{ matrix.ALL_DEPRECATIONS_ENABLED }}
@@ -98,17 +105,18 @@ jobs:
98105 RAISE_ON_DEPRECATION : ${{ matrix.RAISE_ON_DEPRECATION }}
99106
100107 run : pnpm test
101-
108+
102109 browserstack-test :
103110 name : Browserstack Tests (Safari, Edge)
104111 runs-on : ubuntu-latest
105- needs : [ basic-test, lint, types ]
112+ needs : [basic-test, lint, types]
106113 steps :
107114 - uses : actions/checkout@v4
108115 - uses : ./.github/actions/setup
109116 - name : build
110117 env :
111118 ALL_SUPPORTED_BROWSERS : true
119+ NODE_ENV : development
112120 run : pnpm vite build --mode=development
113121
114122 - name : Set BrowserStack Local Identifier
0 commit comments