File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 5252 uses : actions/upload-artifact@v3
5353 with :
5454 name : y-octo.${{ matrix.settings.target }}.node
55- path : ./y-octo-node/*.node
55+ path : ./y-octo-node/dist
5656 if-no-files-found : error
5757
5858 test-node :
@@ -104,7 +104,7 @@ jobs:
104104 uses : actions/download-artifact@v3
105105 with :
106106 name : y-octo.${{ matrix.settings.target }}.node
107- path : ./y-octo-node
107+ path : ./y-octo-node/dist
108108 - name : Run node binding tests
109109 run : ls -lah & ls -lah tests
110110 working-directory : y-octo-node
Original file line number Diff line number Diff line change @@ -120,7 +120,8 @@ impl YDoc {
120120 self . doc . apply_update_from_binary_v1 ( update) ?;
121121
122122 // if update received from remote and current client state has been changed
123- // that means another client using same client id, we need to change the client id to avoid conflict
123+ // that means another client using same client id, we need to change the client
124+ // id to avoid conflict
124125 if self . doc . get_state_vector ( ) . get ( & client) != before_current_state {
125126 self . doc . renew_client ( ) ;
126127 }
Original file line number Diff line number Diff line change 4040 "artifacts" : " napi artifacts" ,
4141 "build" : " yarn build:binding && yarn build:js" ,
4242 "build:debug" : " yarn build:binding:debug && yarn build:js" ,
43- "build:js" : " pkgroll" ,
43+ "build:js" : " pkgroll -- - " ,
4444 "build:binding" : " yarn build:binding:debug --release" ,
4545 "build:binding:debug" : " napi build --platform --no-const-enum --manifest-path native/Cargo.toml --dts ../src/yocto.d.ts --js ../src/yocto.js -o ./dist" ,
4646 "universal" : " napi universal" ,
You can’t perform that action at this time.
0 commit comments