Skip to content

Commit

Permalink
chore: update compatible node version
Browse files Browse the repository at this point in the history
  • Loading branch information
thepiwo committed Jul 22, 2024
1 parent eb717e5 commit 97bef2c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ jobs:
build-and-test:
strategy:
matrix:
node-version: [16, 18, 20, 21]
node-tag: [v7.0.0] # latest known good
node-version: [16, 18, 20, 22]
node-tag: [v7.2.0] # latest known good
compiler-tag: [v8.0.0] # latest known good
aux-ci-run: [true]

Expand All @@ -17,10 +17,10 @@ jobs:
node-tag: v6.8.0 # v6.3.0 to v6.7.0 use a different config format
compiler-tag: v7.4.0
aux-ci-run: true
#- node-version: 20
# node-tag: latest currently doesn't work https://github.com/aeternity/aepp-sdk-js/issues/1999, https://github.com/aeternity/aeternity/issues/4376
# compiler-tag: latest
# aux-ci-run: true
- node-version: 20
node-tag: latest
compiler-tag: latest
aux-ci-run: true
- node-version: 20
node-tag: # latest known good versions are defaulted to, thus not passed explicitly
compiler-tag:
Expand Down
5 changes: 3 additions & 2 deletions docs/cli/env.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ aeproject env --stop
There are optional parameters **\-\-nodeVersion** and **\-\-compilerVersion**. To specify a specific version of node or compiler, or both

```text
aeproject env --nodeVersion v7.0.0
aeproject env --nodeVersion v7.2.0
# or
aeproject env --compilerVersion v8.0.0
# or
aeproject env --nodeVersion v7.0.0 --compilerVersion v8.0.0
aeproject env --nodeVersion v7.2.0 --compilerVersion v8.0.0
```

This also applies to the commands `aeproject node` and `aeproject compiler`.
Expand All @@ -42,6 +42,7 @@ aeproject env --info
- the latest `@aeternity/aepp-sdk@13` is only compatible using `NODE_TAG >= v6.0.0` and `COMPILER_TAG >= v7.5.0`
- the sdk from `@aeternity/aepp-sdk@13 >= v13.3.2` is compatible with `NODE_TAG >= v7.0.0-rc1` and `COMPILER_TAG >= v8.0.0-rc1`
- ARM64/Apple Silicon is supported from images `NODE_TAG >= v6.8.1` and `COMPILER_TAG >= v7.3.0`
- due to a bug, `NODE_TAG = v7.1.0` is not compatible with aeproject

## Disclaimer

Expand Down
2 changes: 1 addition & 1 deletion src/init/update-artifacts/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.6"
services:
aeproject_node:
image: aeternity/aeternity:${NODE_TAG:-v7.0.0}-bundle
image: aeternity/aeternity:${NODE_TAG:-v7.2.0}-bundle
hostname: node
# TODO: remove after releasing https://github.com/aeternity/aeternity/pull/4292
healthcheck:
Expand Down
2 changes: 1 addition & 1 deletion tests/cli.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ describe("command line usage", () => {
});

// latest currently doesn't work https://github.com/aeternity/aepp-sdk-js/issues/1999, https://github.com/aeternity/aeternity/issues/4376
it.skip("init --update --next; test", async () => {
it("init --update --next; test", async () => {
if (!process.env.AUX_CI_RUN) {
const res = await exec("aeproject init --update --next -y", { cwd });
assert.equal(res.code, 0);
Expand Down

0 comments on commit 97bef2c

Please sign in to comment.