Skip to content

Commit 9699d4f

Browse files
committed
add to CI
1 parent e0230cb commit 9699d4f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/pull-request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ jobs:
1313
- run: yarn build:res --warn-error +3+8+11+12+26+27+31+32+33+34+35+39+44+45+110
1414
- run: yarn test
1515
- run: yarn ci:format
16+
- run: yarn test:ci

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"build:vite": "react-router build",
1919
"build": "yarn build:res && yarn build:scripts && yarn build:update-index && yarn build:vite",
2020
"ci:format": "prettier . --check --experimental-cli",
21+
"ci:test": "yarn vitest --run --browser.headless",
2122
"clean:res": "rescript clean",
2223
"convert-images": "auto-convert-images",
2324
"dev:res": "rescript watch",
@@ -29,7 +30,7 @@
2930
"preview": "yarn build && static-server build/client",
3031
"reanalyze": "rescript-tools reanalyze -all-cmt .",
3132
"test": "node scripts/test-examples.mjs && node scripts/test-hrefs.mjs",
32-
"test:browser": "vitest --config=vitest.browser.config.js"
33+
"vitest": "vitest"
3334
},
3435
"dependencies": {
3536
"@babel/generator": "^7.24.7",

0 commit comments

Comments
 (0)