Skip to content

Commit c9f8095

Browse files
committed
use npm build
1 parent 219742d commit c9f8095

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
node-version-file: ".node-version"
1111
cache: npm
1212
- run: npm ci
13-
- run: npx rescript
13+
- run: npm run res:buil
1414
- run: npm test
1515
- run: npm run ci:format

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"dev": "react-router dev",
1313
"res:watch": "rescript watch",
1414
"res:clean": "rescript clean",
15+
"res:build": "rescript build",
1516
"build": "rescript build && react-router build",
1617
"test": "echo \"No tests specified\" && exit 0",
1718
"reanalyze": "reanalyze -all-cmt .",
@@ -83,4 +84,4 @@
8384
"vite": "^7.0.6",
8485
"vite-plugin-env-compatible": "^2.0.1"
8586
}
86-
}
87+
}

0 commit comments

Comments
 (0)