Skip to content

Commit 92bf488

Browse files
chore(ci): upgrade Node.js version to 20.19.0 in deploy-dapp job
1 parent 476dde3 commit 92bf488

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/dapp-deploy.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
- name: Setup Node.js
9292
uses: actions/setup-node@v4
9393
with:
94-
node-version: '20'
94+
node-version: '20.19.0'
9595
cache: 'npm'
9696

9797
- name: Install dependencies
@@ -137,11 +137,9 @@ jobs:
137137
- name: Add resource to whitelist
138138
env:
139139
CONTRACT_ADDRESS: ${{ secrets.WEB3MAIL_WHITELIST_CONTRACT_ADDRESS }}
140-
PRIVATE_KEY: ${{ secrets.WEB3MAIL_DAPP_OWNER_PRIVATEKEY }}
141140
run: |
142141
cd node_modules/whitelist-smart-contract
143-
export ADDRESS_TO_ADD=$(cat ../../deployment-dapp/.app-address)
144-
NODE_OPTIONS='--loader=ts-node/esm --experimental-specifier-resolution=node' npx hardhat run scripts/addResourceToWhitelist.ts --network bellecour
142+
export ADDRESS_TO_ADD=$(cat ../../deployment-dapp/.app-address) && npm run addResourceToWhitelist
145143
146144
- name: Configure ENS
147145
if: ${{ vars.DAPP_ENS_NAME }}

0 commit comments

Comments
 (0)