File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111jobs :
1212 install_and_test_win :
13+ if : startsWith(github.ref, 'refs/tags/')
1314 runs-on : windows-latest
1415 timeout-minutes : 5
1516 strategy :
4647 pnpm test:post || exit /b 1
4748
4849 install_and_test :
50+ if : ${{ !startsWith(github.ref, 'refs/tags/') }}
51+ runs-on : ubuntu-latest
52+ timeout-minutes : 5
53+
54+ name : Linux - Node 24 - TS 7.0.2
55+ steps :
56+ - uses : actions/checkout@v6.0.2
57+ with :
58+ fetch-depth : 0
59+
60+ - uses : pnpm/action-setup@v6.0.8
61+
62+ - name : Setup Node.js
63+ uses : actions/setup-node@v6.3.0
64+ with :
65+ node-version : 24
66+ cache : ' pnpm'
67+
68+ - name : Install Dependencies
69+ run : pnpm install --frozen-lockfile --prefer-offline
70+
71+ - name : Setup TypeScript and React types
72+ run : pnpm add --save-dev typescript@7.0.2 @types/react@19.2.14 @types/react-dom@19.2.3 --prefer-offline
73+
74+ - name : Typecheck
75+ run : pnpm typecheck
76+
77+ - name : Build
78+ run : pnpm build
79+
80+ - name : Test
81+ run : |
82+ pnpm test
83+ pnpm test:post
84+
85+ install_and_test_compat :
86+ if : startsWith(github.ref, 'refs/tags/')
4987 runs-on : [ubuntu-latest]
5088 timeout-minutes : 5
5189 strategy :
@@ -101,7 +139,7 @@ jobs:
101139
102140 release :
103141 runs-on : ubuntu-latest
104- needs : [install_and_test ]
142+ needs : [install_and_test_compat, install_and_test_win ]
105143 if : startsWith(github.ref, 'refs/tags/')
106144 permissions :
107145 contents : read
You can’t perform that action at this time.
0 commit comments