Skip to content

Commit c0bd0d7

Browse files
LaurentClaesclaude
andcommitted
Fix test-react-18: build libs before running tests
The test:react script runs jest directly, unlike the test script which runs build-libs first (build:vars, build:icons, build:extract-emotion). Without building, drylus-style-vars has no lib/ output and ts-jest can't resolve the module. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a2531d6 commit c0bd0d7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@ jobs:
5656
node-version: '20.x'
5757
registry-url: https://npm.pkg.github.com/
5858
scope: '@drawbotics'
59-
- name: Install dependencies
60-
run: npm run bootstrap
59+
- name: Install dependencies and build libs
60+
run: |
61+
npm run bootstrap
62+
npm run build-libs
6163
env:
6264
NODE_AUTH_TOKEN: ${{secrets.GH_TOKEN}}
6365
- name: Swap to React 18

0 commit comments

Comments
 (0)