This repository was archived by the owner on May 9, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ jobs:
3535 with :
3636 node-version : ' 12.x'
3737 always-auth : true
38- registry-url : ' https://npm.pkg.github.com '
38+ registry-url : ' https://registry.npmjs.org '
3939 scope : ' @chainsafe'
4040 env :
41- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41+ NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
4242 - name : Install dependencies
4343 run : yarn install --frozen-lockfile --non-interactive --ignore-optional
4444 env :
@@ -53,10 +53,10 @@ jobs:
5353 - name : Build packages
5454 run : yarn run build
5555
56- - name : Publish to github package registry
56+ - name : Publish to npm registry
5757 run : yarn publish --ignore-scripts --no-git-tag-version --no-commit-hooks --non-interactive
5858 env :
59- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
59+ NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
6060
6161 - name : Create Release
6262 id : create_release
Original file line number Diff line number Diff line change 1919 "build" : " rollup -c" ,
2020 "publish-package" : " npm run compile && npm run generate-types && npm run build && npm publish" ,
2121 "generate-types" : " npm run generate-types:ethers" ,
22- "generate-types:ethers" : " npx typechain \" build/contracts/Bridge.json \" \" build/contracts/ERC20Handler.json \" \" build/contracts/ERC721Handler.json \" \" build/contracts/GenericHandler.json \" --target=ethers-v5 --out-dir src/ethers" ,
22+ "generate-types:ethers" : " npx typechain \" build/contracts/* \" --target=ethers-v5 --out-dir src/ethers" ,
2323 "test" : " echo \\\\\\\" Error: no test specified\\\\\\\" && exit 1"
2424 },
2525 "author" : " Chainsafe Systems" ,
You can’t perform that action at this time.
0 commit comments