Skip to content

Commit

Permalink
Use relevant node version in upgrade tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kronosapiens committed Apr 19, 2024
1 parent f22c338 commit afb1b49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ job_common: &job_common
run:
job_python: &job_python
docker:
- image: cimg/python:3.8.13-node
- image: cimg/python:3.12-node
auth:
username: colonyci
password: $COLONYCI_DOCKERHUB_PASSWORD
Expand Down
3 changes: 3 additions & 0 deletions scripts/deployOldUpgradeableVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ module.exports.deployOldUpgradeableVersion = async (contractName, interfaceName,
await exec(`cd colonyNetwork-${versionTag} && sed -ie 's/parseInt(process.env.CHAIN_ID, 10) || 1999/"*"/g' ./truffle.js`); // Handle hardhat coverage
await exec(`cd colonyNetwork-${versionTag} && git submodule update --init --recursive`);

const nodeVersion = fs.readFileSync(`.nvmrc`);
await exec(`cd colonyNetwork-${versionTag} && npm install node@${nodeVersion}`);

console.log("Installing the network...");
await exec(`cd colonyNetwork-${versionTag} && npm install`);
await exec(`cd colonyNetwork-${versionTag} && npm run provision:token:contracts`);
Expand Down

0 comments on commit afb1b49

Please sign in to comment.