7070 dist/
7171 yarn.lock
7272
73+ win-prep :
74+ runs-on : windows-latest
75+ steps :
76+ - uses : actions/checkout@v4
77+ - name : Cache pixi env
78+ uses :
prefix-dev/[email protected] 79+ with :
80+ pixi-version : v${{ env.PIXI_VERSION }}
81+ cache : true
82+ environments : build
83+ - name : Cache node_modules
84+ uses : actions/cache@v4
85+ with :
86+ path : |
87+ !node_modules/.cache/
88+ **/node_modules/
89+ key : |
90+ ${{ env.CACHE_EPOCH }}-node-build-${{ hashFiles('pixi.lock', 'yarn.lock') }}
91+ - name : Install nodejs dependencies
92+ run : ${{ env.PIXI_RUN }} setup-js && echo "" > node_modules/.ci-skip-yarn
93+
7394 lint :
7495 needs : [build]
7596 runs-on : ubuntu-latest
84105 - name : Cache node_modules
85106 uses : actions/cache@v4
86107 with :
87- enableCrossOsArchive : true
88108 path : |
89109 !node_modules/.cache/
90110 **/node_modules/
@@ -112,7 +132,6 @@ jobs:
112132 - name : Cache node_modules
113133 uses : actions/cache@v4
114134 with :
115- enableCrossOsArchive : true
116135 path : |
117136 !node_modules/.cache/
118137 **/node_modules/
@@ -126,14 +145,14 @@ jobs:
126145 build/docs
127146
128147 itest :
129- needs : [build]
148+ needs : [build, win-prep ]
130149 runs-on : ${{ matrix.os }}-${{ matrix.vm }}
131150 strategy :
132151 fail-fast : false
133152 matrix :
153+ epoch : [min, now]
134154 os : [macos, ubuntu, windows]
135155 vm : [latest]
136- epoch : [min, now]
137156 include :
138157 - { epoch: min, os: macos, vm: 13 }
139158 exclude :
@@ -185,14 +204,14 @@ jobs:
185204 path : ./build/reports
186205
187206 atest :
188- needs : [build]
207+ needs : [build, win-prep ]
189208 runs-on : ${{ matrix.os }}-${{ matrix.vm }}
190209 strategy :
191210 fail-fast : false
192211 matrix :
212+ epoch : [min, now]
193213 os : [macos, ubuntu, windows]
194214 vm : [latest]
195- epoch : [min, now]
196215 include :
197216 - { epoch: min, os: macos, vm: 13 }
198217 - { epoch: pre, os: ubuntu, vm: latest }
0 commit comments