-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable part of workflow to quickly verify
Notify CI...
step
Change is only temporary, it should be reverted before merge to `main`.
- Loading branch information
1 parent
65184cf
commit f9d055b
Showing
1 changed file
with
38 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,43 +104,44 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "14.x" | ||
cache: "yarn" | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Resolve latest contracts | ||
run: yarn upgrade @keep-network/[email protected] | ||
|
||
- name: Configure tenderly | ||
env: | ||
TENDERLY_TOKEN: ${{ secrets.TENDERLY_TOKEN }} | ||
run: ./config_tenderly.sh | ||
|
||
- name: Deploy contracts | ||
env: | ||
CHAIN_API_URL: ${{ secrets.GOERLI_ETH_HOSTNAME_HTTP }} | ||
CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY: ${{ secrets.GOERLI_ETH_CONTRACT_OWNER_PRIVATE_KEY }} | ||
KEEP_CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY: ${{ secrets.GOERLI_KEEP_ETH_CONTRACT_OWNER_PRIVATE_KEY }} | ||
run: yarn deploy --network ${{ github.event.inputs.environment }} | ||
|
||
- name: Bump up package version | ||
id: npm-version-bump | ||
uses: keep-network/npm-version-bump@v2 | ||
with: | ||
environment: ${{ github.event.inputs.environment }} | ||
branch: ${{ github.ref }} | ||
commit: ${{ github.sha }} | ||
|
||
- name: Publish to npm | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
# TODO: remove `--dry-run` before merge to main | ||
run: npm publish --access=public --network=${{ github.event.inputs.environment }} --tag ${{ github.event.inputs.environment }} --dry-run | ||
# TODO: uncomment below block of code before merge to main | ||
# - uses: actions/setup-node@v2 | ||
# with: | ||
# node-version: "14.x" | ||
# cache: "yarn" | ||
# registry-url: "https://registry.npmjs.org" | ||
|
||
# - name: Install dependencies | ||
# run: yarn install --frozen-lockfile | ||
|
||
# - name: Resolve latest contracts | ||
# run: yarn upgrade @keep-network/[email protected] | ||
|
||
# - name: Configure tenderly | ||
# env: | ||
# TENDERLY_TOKEN: ${{ secrets.TENDERLY_TOKEN }} | ||
# run: ./config_tenderly.sh | ||
|
||
# - name: Deploy contracts | ||
# env: | ||
# CHAIN_API_URL: ${{ secrets.GOERLI_ETH_HOSTNAME_HTTP }} | ||
# CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY: ${{ secrets.GOERLI_ETH_CONTRACT_OWNER_PRIVATE_KEY }} | ||
# KEEP_CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY: ${{ secrets.GOERLI_KEEP_ETH_CONTRACT_OWNER_PRIVATE_KEY }} | ||
# run: yarn deploy --network ${{ github.event.inputs.environment }} | ||
|
||
# - name: Bump up package version | ||
# id: npm-version-bump | ||
# uses: keep-network/npm-version-bump@v2 | ||
# with: | ||
# environment: ${{ github.event.inputs.environment }} | ||
# branch: ${{ github.ref }} | ||
# commit: ${{ github.sha }} | ||
|
||
# - name: Publish to npm | ||
# env: | ||
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
# # TODO: remove `--dry-run` before merge to main | ||
# run: npm publish --access=public --network=${{ github.event.inputs.environment }} --tag ${{ github.event.inputs.environment }} --dry-run | ||
|
||
# TODO: restore commented out `uses` config before merge to `main`` | ||
- name: Notify CI about completion of the workflow | ||
|