Browse Source

Merge pull request #11 from ton-defi-org/node-18

NodeJS 18 Fix
master
Tal Kol 2 years ago committed by GitHub
parent
commit
ff22f098ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/node.js.yml
  2. 2
      package.json

4
.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
- run: npm test

2
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",

Loading…
Cancel
Save