Skip to content

Commit

Permalink
CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mastyf committed Nov 16, 2020
1 parent 89ad9b7 commit ca7419d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
MNENOMIC: ${{secrets.MNENOMIC}}
INFURA_API_KEY: ${{secrets.INFURA_API_KEY}}

- name: npm ropsten:deploy
run: npm run ropsten:deploy
- name: npm deploy
run: npm run deploy -- --network ropsten --reset --dry-run
env:
MNENOMIC: ${{secrets.MNENOMIC}}
INFURA_API_KEY: ${{secrets.INFURA_API_KEY}}

- name: npm ropsten:config-gen
run: npm run ropsten:config-gen
- name: npm config-gen -- --network ropsten
run: npm run config-gen
env:
MNENOMIC: ${{secrets.MNENOMIC}}
INFURA_API_KEY: ${{secrets.INFURA_API_KEY}}
Expand Down
24 changes: 20 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,26 @@ jobs:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/

- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: networks-$GITHUB_REF-$GITHUB_SHA
- name: Install dependencies
run: npm ci

- name: npm build
run: npm run build
env:
MNENOMIC: ${{secrets.MNENOMIC}}
INFURA_API_KEY: ${{secrets.INFURA_API_KEY}}

- name: npm deploy
run: npm run deploy -- --network ropsten --reset
env:
MNENOMIC: ${{secrets.MNENOMIC}}
INFURA_API_KEY: ${{secrets.INFURA_API_KEY}}

- name: npm config-gen -- --network ropsten
run: npm run config-gen
env:
MNENOMIC: ${{secrets.MNENOMIC}}
INFURA_API_KEY: ${{secrets.INFURA_API_KEY}}

- name: Publish npm
run: |
Expand Down

0 comments on commit ca7419d

Please sign in to comment.