Skip to content

Commit

Permalink
Merge pull request #272 from bosonprotocol/fix/npm-publish-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mischat authored Nov 4, 2021
2 parents fd35588 + e2efed2 commit cf676f2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/publish-pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
env:
PROTOCOL_DEPLOYER_PRIVATE_KEY: 123456789abcdef123456789abcdef123456789abcdef123456789abcdef1234
CC_TOKEN_DEPLOYER_PRIVATE_KEY: 123456789abcdef123456789abcdef123456789abcdef123456789abcdef1234
steps:
- uses: actions/checkout@v2
- name: Set env RELEASE_VERSION
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
env:
PROTOCOL_DEPLOYER_PRIVATE_KEY: 123456789abcdef123456789abcdef123456789abcdef123456789abcdef1234
CC_TOKEN_DEPLOYER_PRIVATE_KEY: 123456789abcdef123456789abcdef123456789abcdef123456789abcdef1234
steps:
- uses: actions/checkout@v2
- name: Set env RELEASE_VERSION
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@
"artifacts/contracts/VoucherKernel.sol/VoucherKernel.json",
"abi/contracts/VoucherKernel.sol/VoucherKernel.json",
"artifacts/contracts/interfaces/**/*.json",
"!artifacts/contracts/interfaces/**/*.dbg.json"
"!artifacts/contracts/interfaces/**/*.dbg.json",
"scripts/contracts-demo.json",
"scripts/contracts-dev.json",
"scripts/contracts-prod.json"
],
"scripts": {
"contracts:run": "npm run contracts:clean && npm run contracts:compile && hardhat deploy",
Expand Down

0 comments on commit cf676f2

Please sign in to comment.