From 4a344f421e84bffa79bc28414269c122b4b95db7 Mon Sep 17 00:00:00 2001 From: doron aviguy Date: Wed, 22 Jun 2022 15:19:21 +0300 Subject: [PATCH 1/3] add --no-expiermental-fetch flag to support nodejs 18 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8b5f080..1616636 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "author": "", "scripts": { "prettier": "npx prettier --write '{test,contracts,build}/**/*.{ts,js,json}'", - "test": "mocha --exit test/**/*.spec.ts", + "test": "node --no-experimental-fetch node_modules/mocha/bin/mocha --exit test/**/*.spec.ts", "build": "ts-node ./build/_build.ts", "deploy": "ts-node ./build/_deploy.ts", "deploy:testnet": "ts-node ./build/_deploy.ts", From fd9f28f2de0da72a6c6a7fbcfbde6aa08e22b742 Mon Sep 17 00:00:00 2001 From: Tal Kol Date: Sat, 27 Aug 2022 00:54:28 +0100 Subject: [PATCH 2/3] Update node.js.yml --- .github/workflows/node.js.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 2c68936..1c23fd0 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x] + node-version: [16.x, 18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: @@ -28,4 +28,4 @@ jobs: - run: mkdir bin && wget https://github.com/ton-defi-org/ton-binaries/releases/download/ubuntu-18/fift -P ./bin && chmod +x ./bin/fift && wget https://github.com/ton-defi-org/ton-binaries/releases/download/ubuntu-18/func -P ./bin && chmod +x ./bin/func && wget https://github.com/ton-defi-org/ton-binaries/releases/download/fiftlib/fiftlib.zip -P ./bin && unzip ./bin/fiftlib.zip -d ./bin/fiftlib - run: npm ci - run: npm run build - - run: npm test \ No newline at end of file + - run: npm test From 917b57880e946f7b5af40c039206c474c0c55fe3 Mon Sep 17 00:00:00 2001 From: Tal Kol Date: Sat, 27 Aug 2022 00:59:32 +0100 Subject: [PATCH 3/3] Update node.js.yml --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 1c23fd0..a105469 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x] + node-version: [16.x, 17.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: