diff --git a/.github/workflows/vm-nightly-test.yml b/.github/workflows/vm-nightly-test.yml index e11f50da8f..60b18f0ea5 100644 --- a/.github/workflows/vm-nightly-test.yml +++ b/.github/workflows/vm-nightly-test.yml @@ -2,7 +2,10 @@ name: VM Nightly on: schedule: - cron: 0 0 * * * - + push: + branches: + - vm-nightly-typescript-version + env: cwd: ${{github.workspace}}/packages/vm @@ -35,6 +38,12 @@ jobs: - run: npm i working-directory: ${{github.workspace}} + # The API:browser tests are failing due to this Typescript issue + # https://github.com/monounity/karma-typescript/issues/499 + # so reverting to Typescript 4.4.4 for browser tests + - run: npm i typescript@4.4.4 + working-directory: ${{github.workspace}} + - run: npm run test:API - run: npm run test:API:browser @@ -62,6 +71,12 @@ jobs: - run: npm i working-directory: ${{github.workspace}} + # The API:browser tests are failing due to this Typescript issue + # https://github.com/monounity/karma-typescript/issues/499 + # so reverting to Typescript 4.4.4 for browser tests + - run: npm i typescript@4.4.4 + working-directory: ${{github.workspace}} + - run: npm run test:state:allForks test-vm-blockchain: @@ -88,6 +103,9 @@ jobs: - run: npm i working-directory: ${{github.workspace}} + - run: npm i typescript@4.4.4 + working-directory: ${{github.workspace}} + - run: npm run test:blockchain:allForks working-directory: '${{ env.cwd }}' @@ -115,4 +133,7 @@ jobs: - run: npm i working-directory: ${{github.workspace}} + - run: npm i typescript@4.4.4 + working-directory: ${{github.workspace}} + - run: npm run test:state:slow diff --git a/packages/client/package.json b/packages/client/package.json index 3fccf09489..ca6b861ad2 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -67,7 +67,7 @@ "level": "^6.0.0", "level-mem": "^5.0.1", "libp2p": "^0.30.7", - "libp2p-bootstrap": "^0.12.2", + "libp2p-bootstrap": "^0.14.0", "libp2p-interfaces": "^1.2.0", "libp2p-kad-dht": "^0.20.6", "libp2p-mplex": "^0.10.2", diff --git a/packages/vm/package.json b/packages/vm/package.json index f8b59d19cb..861600fbad 100644 --- a/packages/vm/package.json +++ b/packages/vm/package.json @@ -86,7 +86,7 @@ "tape": "^5.3.1", "ts-node": "^10.2.1", "typedoc": "^0.22.4", - "typescript": "^4.4.2" + "typescript": "4.4.4" }, "contributors": [ "Alex Beregszaszi "