diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 2c68936..a105469 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, 17.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 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",