@@ -44,19 +44,20 @@ jobs:
4444 steps :
4545 - uses : actions/checkout@v2
4646
47- - uses : actions/setup-node@v2
48- with :
49- node-version : " 14.x"
50- cache : " yarn"
47+ # TODO: uncomment below block of code before merge to main
48+ # - uses: actions/setup-node@v2
49+ # with:
50+ # node-version: "14.x"
51+ # cache: "yarn"
5152
52- - name : Install dependencies
53- run : yarn install
53+ # - name: Install dependencies
54+ # run: yarn install
5455
55- - name : Build contracts
56- run : yarn build
56+ # - name: Build contracts
57+ # run: yarn build
5758
58- - name : Run tests
59- run : yarn test
59+ # - name: Run tests
60+ # run: yarn test
6061
6162 contracts-system-tests :
6263 needs : contracts-detect-changes
@@ -104,48 +105,49 @@ jobs:
104105 steps :
105106 - uses : actions/checkout@v2
106107
107- - uses : actions/setup-node@v2
108- with :
109- node-version : " 14.x"
110- cache : " yarn"
111- registry-url : " https://registry.npmjs.org"
112-
113- - name : Install dependencies
114- run : yarn install --frozen-lockfile
115-
116- - name : Resolve latest contracts
117- run :
yarn upgrade @keep-network/[email protected] 118-
119- - name : Configure tenderly
120- env :
121- TENDERLY_TOKEN : ${{ secrets.TENDERLY_TOKEN }}
122- run : ./config_tenderly.sh
123-
124- - name : Deploy contracts
125- env :
126- CHAIN_API_URL : ${{ secrets.GOERLI_ETH_HOSTNAME_HTTP }}
127- CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY : ${{ secrets.GOERLI_ETH_CONTRACT_OWNER_PRIVATE_KEY }}
128- KEEP_CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY : ${{ secrets.GOERLI_KEEP_ETH_CONTRACT_OWNER_PRIVATE_KEY }}
129- run : yarn deploy --network ${{ github.event.inputs.environment }}
130-
131- - name : Bump up package version
132- id : npm-version-bump
133- uses : keep-network/npm-version-bump@v2
134- with :
135- environment : ${{ github.event.inputs.environment }}
136- branch : ${{ github.ref }}
137- commit : ${{ github.sha }}
138-
139- - name : Publish to npm
140- env :
141- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
142- # TODO: remove `--dry-run` before merge to main
143- run : npm publish --access=public --network=${{ github.event.inputs.environment }} --tag ${{ github.event.inputs.environment }} --dry-run
108+ # TODO: uncomment below block of code before merge to main
109+ # - uses: actions/setup-node@v2
110+ # with:
111+ # node-version: "14.x"
112+ # cache: "yarn"
113+ # registry-url: "https://registry.npmjs.org"
114+
115+ # - name: Install dependencies
116+ # run: yarn install --frozen-lockfile
117+
118+ # - name: Resolve latest contracts
119+ # run: yarn upgrade @keep-network/[email protected] 120+
121+ # - name: Configure tenderly
122+ # env:
123+ # TENDERLY_TOKEN: ${{ secrets.TENDERLY_TOKEN }}
124+ # run: ./config_tenderly.sh
125+
126+ # - name: Deploy contracts
127+ # env:
128+ # CHAIN_API_URL: ${{ secrets.GOERLI_ETH_HOSTNAME_HTTP }}
129+ # CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY: ${{ secrets.GOERLI_ETH_CONTRACT_OWNER_PRIVATE_KEY }}
130+ # KEEP_CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY: ${{ secrets.GOERLI_KEEP_ETH_CONTRACT_OWNER_PRIVATE_KEY }}
131+ # run: yarn deploy --network ${{ github.event.inputs.environment }}
132+
133+ # - name: Bump up package version
134+ # id: npm-version-bump
135+ # uses: keep-network/npm-version-bump@v2
136+ # with:
137+ # environment: ${{ github.event.inputs.environment }}
138+ # branch: ${{ github.ref }}
139+ # commit: ${{ github.sha }}
140+
141+ # - name: Publish to npm
142+ # env:
143+ # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
144+ # # TODO: remove `--dry-run` before merge to main
145+ # run: npm publish --access=public --network=${{ github.event.inputs.environment }} --tag ${{ github.event.inputs.environment }} --dry-run
144146
145147 # TODO: restore commented out `uses` config before merge to `main``
146148 - name : Notify CI about completion of the workflow
147149 # uses: keep-network/ci/actions/notify-workflow-completed@v1
148- uses : keep-network/ci/actions/notify-workflow-completed@ci-goerli
150+ uses : keep-network/ci/actions/notify-workflow-completed@main
149151 continue-on-error : true # TODO: remove before merge to main
150152 env :
151153 GITHUB_TOKEN : ${{ secrets.CI_GITHUB_TOKEN }}
0 commit comments