@@ -91,41 +91,25 @@ jobs:
9191 --health-retries 5
9292
9393 steps :
94- - uses : actions/checkout@v4
94+ - uses : actions/checkout@v6
9595
96- - name : Setup Node
97- uses : actions/setup-node@v4
98- with :
99- node-version : 24
100-
101- - name : Get yarn cache directory
102- id : yarn-cache-dir-path
103- run : |
104- echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
105-
106- - uses : actions/cache@v4
107- with :
108- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
109- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
110- restore-keys : |
111- ${{ runner.os }}-yarn-
96+ - name : Install Mise
97+ uses : jdx/mise-action@v3
11298
11399 - name : yarn install and build
114- run : |
115- yarn
116- yarn build
100+ run : mise run build
117101
118102 - name : yarn check
119- run : yarn check
103+ run : mise run check
120104
121105 - name : apply migrations on empty database
122- run : yarn migration: run
106+ run : mise run migrate
123107
124108 - name : check migrations are up to date
125- run : yarn migration: check
109+ run : mise run migration- check
126110
127111 - name : vitest tests
128- run : yarn vitest
112+ run : mise run vitest
129113
130114 test-node :
131115 strategy :
@@ -170,24 +154,10 @@ jobs:
170154 --health-retries 5
171155
172156 steps :
173- - uses : actions/checkout@v4
157+ - uses : actions/checkout@v6
174158
175- - name : Setup Node
176- uses : actions/setup-node@v4
177- with :
178- node-version : 24
179-
180- - name : Get yarn cache directory
181- id : yarn-cache-dir-path
182- run : |
183- echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
184-
185- - uses : actions/cache@v4
186- with :
187- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
188- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
189- restore-keys : |
190- ${{ runner.os }}-yarn-
159+ - name : Install Mise
160+ uses : jdx/mise-action@v3
191161
192162 - uses : actions/cache@v4
193163 with :
@@ -196,12 +166,8 @@ jobs:
196166 restore-keys : |
197167 ${{ runner.os }}-jest-
198168
199- - name : yarn install
200- run : |
201- yarn
202-
203169 - name : apply migrations on empty database
204- run : yarn migration: run
170+ run : mise run migrate
205171
206172 - name : yarn test
207- run : yarn test:ci --shard=${{ matrix.shard }}
173+ run : mise run e2e --shard=${{ matrix.shard }}
0 commit comments