Skip to content

Commit

Permalink
chore: use the same sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Nov 14, 2024
1 parent adf1279 commit 909b641
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build-and-test:
strategy:
matrix:
node-version: [18, 20, 22]
node-version: [22]
node-tag: [v7.2.0] # latest known good
compiler-tag: [v8.0.0] # latest known good
aux-ci-run: [true]
Expand Down
7 changes: 4 additions & 3 deletions tests/util.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ export function cleanLocal() {
}

export async function linkLocalLib(folder) {
await exec("npm link @aeternity/aeproject", {
cwd: folder ? path.join(cwd, folder) : cwd,
});
const c = folder ? path.join(cwd, folder) : cwd;
await exec("npm i .. -D", { cwd: c });
await exec("perl -i -pe 's/\"prepare\"/\"rem-prepare\"/g' ../node_modules/@aeternity/aepp-sdk/package.json", { cwd: c });
await exec("npm i ../node_modules/@aeternity/aepp-sdk", { cwd: c });
}

0 comments on commit 909b641

Please sign in to comment.