diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a963575b64..ec4c7be3cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97 - uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c with: - node-version: '15' + node-version: '16' cache: 'npm' - run: npm ci @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97 - uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c with: - node-version: '15' + node-version: '16' cache: 'npm' - run: npm ci @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97 - uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c with: - node-version: '15' + node-version: '16' cache: 'npm' - run: npm ci diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index c9265688c8..62a39f546f 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97 - uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c with: - node-version: '15' + node-version: '16' - uses: actions/github-script@441359b1a30438de65712c2fbca0abe4816fa667 id: version diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000000..b6a7d89c68 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +16 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 20067ad4bc..d0183e0917 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # DeFi Jellyfish Contributing Guide -You need `node v14`, and `npm v7` for this project, it's required to set +You need `node v16`, and `npm v8` for this project, it's required to set up [npm workspaces](https://docs.npmjs.com/cli/v7/using-npm/workspaces). ```shell diff --git a/package-lock.json b/package-lock.json index ddb727614a..50e4fcb3ba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15543,7 +15543,7 @@ "husky": "^7.0.2", "jest": "^27.3.1", "lerna": "^4.0.0", - "lint-staged": "11.2.6", + "lint-staged": "^11.2.6", "ts-jest": "^27.0.7", "typescript": "4.2.4", "wait-for-expect": "^3.0.2"