File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release Engine SDK to NPM
2+
3+ on :
4+ push :
5+ tags :
6+ - ' sdk/v*'
7+
8+ defaults :
9+ run :
10+ working-directory : sdk
11+
12+ jobs :
13+ publish :
14+ runs-on : ubuntu-20.04
15+ steps :
16+ - uses : actions/checkout@v2
17+ - name : Use Node.js 15.x
18+ uses : actions/setup-node@v2
19+ with :
20+ node-version : ' 15.x'
21+ registry-url : ' https://registry.npmjs.org'
22+ - name : Build and install dependencies
23+ run : |
24+ npm install
25+ npm run build
26+ - name : Publish package
27+ env :
28+ NODE_AUTH_TOKEN : ${{ secrets.NODE_AUTH_TOKEN }}
29+ run : npm publish --access public
Original file line number Diff line number Diff line change @@ -39,18 +39,18 @@ async function main() {
3939 craftingContract . connect ( signer )
4040
4141 const emptyBottle : CraftingItem = {
42- tokenAddrress : "0x0000000000000000000000000000000000000000" ,
42+ tokenAddress : "0x0000000000000000000000000000000000000000" ,
4343 amount : "1" ,
4444 tokenId : "1" ,
4545 }
4646
4747 const milk : CraftingItem = {
48- tokenAddrress : "0x0000000000000000000000000000000000000000" ,
48+ tokenAddress : "0x0000000000000000000000000000000000000000" ,
4949 amount : "100000000000000000000" , // 100 * 10^18, 100 unim
5050 }
5151
5252 const fullBottle : CraftingItem = {
53- tokenAddrress : "0x0000000000000000000000000000000000000000" ,
53+ tokenAddress : "0x0000000000000000000000000000000000000000" ,
5454 amount : "1" ,
5555 tokenId : "2" ,
5656 }
You can’t perform that action at this time.
0 commit comments