Skip to content

Commit 8a05bb4

Browse files
committed
chore: Fix esy build
1 parent 935d041 commit 8a05bb4

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,12 @@ jobs:
5757
run: esy test
5858

5959
- name: Create npm package
60-
run: esy npm-release
60+
run: esy build
61+
6162
- uses: actions/upload-artifact@v2
6263
with:
6364
name: ${{ matrix.os }}
64-
path: _release/
65+
path: _build/default/bin/Bin.exe
6566

6667
# Cleanup build cache if dependencies have changed
6768
- name: Clean build cache

package.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,7 @@
1414
],
1515
"esy": {
1616
"buildsInSource": "_build",
17-
"build": [
18-
[
19-
"dune",
20-
"build",
21-
"-p",
22-
"ReactRulesOfHooksPpx"
23-
]
24-
],
17+
"build": "dune build -p ReactRulesOfHooksPpx",
2518
"buildDev": [
2619
[
2720
"dune",
@@ -56,6 +49,7 @@
5649
"@esy-ocaml/reason": "facebook/reason:reason.json#773dbcd"
5750
},
5851
"scripts": {
52+
"build": "esy dune build -p ReactRulesOfHooksPpx",
5953
"watch": "esy dune build -p ReactRulesOfHooksPpx --watch",
6054
"test": "esy x Run.exe",
6155
"doc": "esy dune build @doc",

0 commit comments

Comments
 (0)