@@ -16,29 +16,30 @@ jobs:
1616 - name : ⬇️ Checkout repo
1717 uses : actions/checkout@v4
1818
19- - name : ⎔ Setup pnpm@v9
19+ - name : ⎔ Setup pnpm@v10
2020 uses : pnpm/action-setup@v4
2121
22- - name : ⎔ Setup Node@v20
22+ - name : ⎔ Setup Node@v22
2323 uses : actions/setup-node@v4
2424 with :
2525 cache : pnpm
26- node-version : 20
26+ node-version : 22
2727
2828 - name : 📥 Download deps
2929 run : pnpm install
3030
31- - name : 🏗 Build
32- run : pnpm build
31+ - name : 🏗 Build packages
32+ run : pnpm build:packages
33+
34+ - name : 🏗 Build apps & examples
35+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
36+ run : pnpm build:apps && pnpm build:examples
3337
3438 - name : 🔍 Verify types
3539 run : pnpm type-check
3640
37- - name : 🕵️ Lint
38- run : pnpm lint:prod
39-
40- - name : 💅 Verify format (`pnpm format` committed?)
41- run : pnpm format
41+ - name : 🕵️ Lint + Format
42+ run : pnpm exec biome check .
4243
4344 - name : 🛡️ Test (Node)
4445 run : pnpm test:node
8586 continue-on-error : true
8687 with :
8788 github_token : ${{ secrets.GITHUB_TOKEN }}
89+ build_script : build:packages
8890
8991 npm-release :
9092 name : npm-release
@@ -111,14 +113,14 @@ jobs:
111113 # check out all commits and tags so changeset can skip duplicate tags
112114 fetch-depth : 0
113115
114- - name : ⎔ Setup pnpm@v9
116+ - name : ⎔ Setup pnpm@v10
115117 uses : pnpm/action-setup@v4
116118
117- - name : ⎔ Setup Node@v20
119+ - name : ⎔ Setup Node@v22
118120 uses : actions/setup-node@v4
119121 with :
120122 cache : pnpm
121- node-version : 20
123+ node-version : 22
122124 registry-url : https://registry.npmjs.org
123125
124126 - name : 📥 Install dependencies
@@ -161,14 +163,14 @@ jobs:
161163 with :
162164 fetch-depth : 0
163165
164- - name : ⎔ Setup pnpm@v9
166+ - name : ⎔ Setup pnpm@v10
165167 uses : pnpm/action-setup@v4
166168
167- - name : ⎔ Setup Node@v20
169+ - name : ⎔ Setup Node@v22
168170 uses : actions/setup-node@v4
169171 with :
170172 cache : pnpm
171- node-version : 20
173+ node-version : 22
172174 registry-url : https://npm.pkg.github.com/
173175
174176 - name : 📥 Install dependencies
@@ -239,14 +241,14 @@ jobs:
239241 with :
240242 fetch-depth : 0
241243
242- - name : ⎔ Setup pnpm@v9
244+ - name : ⎔ Setup pnpm@v10
243245 uses : pnpm/action-setup@v4
244246
245- - name : ⎔ Setup Node@v20
247+ - name : ⎔ Setup Node@v22
246248 uses : actions/setup-node@v4
247249 with :
248250 cache : pnpm
249- node-version : 20
251+ node-version : 22
250252 registry-url : https://npm.pkg.github.com/
251253
252254 - name : 📥 Install dependencies
@@ -255,7 +257,7 @@ jobs:
255257 NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
256258
257259 - name : 🏗 Build
258- run : pnpm build
260+ run : pnpm build --filter='viewer...'
259261 env :
260262 NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
261263
@@ -264,4 +266,4 @@ jobs:
264266 uses : peaceiris/actions-gh-pages@v4
265267 with :
266268 github_token : ${{ secrets.GITHUB_TOKEN }}
267- publish_dir : ./apps/dotlottie- viewer/dist
269+ publish_dir : ./apps/viewer/dist
0 commit comments