瀏覽代碼

Upgrade `node` to 20.16.0 LTS (#3179)

acheron 1 年之前
父節點
當前提交
eff7e4578c
共有 4 個文件被更改,包括 4 次插入3 次删除
  1. 1 1
      .github/workflows/no-caching-tests.yaml
  2. 1 1
      .github/workflows/tests.yaml
  3. 1 0
      CHANGELOG.md
  4. 1 1
      docker/build/Dockerfile

+ 1 - 1
.github/workflows/no-caching-tests.yaml

@@ -13,6 +13,6 @@ jobs:
       cache: false
       solana_cli_version: 1.18.17
       solang_version: 0.3.2
-      node_version: 18.18.0
+      node_version: 20.16.0
       cargo_profile: release
       anchor_binary_name: anchor-binary-no-caching

+ 1 - 1
.github/workflows/tests.yaml

@@ -16,6 +16,6 @@ jobs:
       cache: true
       solana_cli_version: 1.18.17
       solang_version: 0.3.2
-      node_version: 18.18.0
+      node_version: 20.16.0
       cargo_profile: debug
       anchor_binary_name: anchor-binary

+ 1 - 0
CHANGELOG.md

@@ -69,6 +69,7 @@ The minor version will be incremented upon a breaking change and the patch versi
 - spl: Rename metadata interface instruction fields from `token_program_id` to `program_id` ([#3076](https://github.com/coral-xyz/anchor/pull/3076)).
 - lang, ts: Remove "8 byte" requirement from discriminator error messages ([#3161](https://github.com/coral-xyz/anchor/pull/3161)).
 - lang: Remove `discriminator` method from `Discriminator` trait ([#3163](https://github.com/coral-xyz/anchor/pull/3163)).
+- docker: Upgrade `node` to 20.16.0 LTS ([#3179](https://github.com/coral-xyz/anchor/pull/3179)).
 
 ## [0.30.1] - 2024-06-20
 

+ 1 - 1
docker/build/Dockerfile

@@ -10,7 +10,7 @@ ARG DEBIAN_FRONTEND=noninteractive
 
 ARG SOLANA_CLI
 ARG ANCHOR_CLI
-ARG NODE_VERSION="v18.18.0"
+ARG NODE_VERSION="v20.16.0"
 
 ENV HOME="/root"
 ENV PATH="${HOME}/.cargo/bin:${PATH}"