Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin typescript dependency to 4.4.4 for VM nightly tests #1602

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion .github/workflows/vm-nightly-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: VM Nightly
on:
schedule:
- cron: 0 0 * * *

push:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not disable the nightly tests right? It just adds it to this specific branch?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, I'll remove it from our final PR if we end up going with this solution. This was just to allow me to test without running the entire ci suite every time I committed.

branches:
- vm-nightly-typescript-version

env:
cwd: ${{github.workspace}}/packages/vm

Expand Down Expand Up @@ -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 [email protected]
working-directory: ${{github.workspace}}

- run: npm run test:API
- run: npm run test:API:browser

Expand Down Expand Up @@ -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 [email protected]
working-directory: ${{github.workspace}}

- run: npm run test:state:allForks

test-vm-blockchain:
Expand All @@ -88,6 +103,9 @@ jobs:
- run: npm i
working-directory: ${{github.workspace}}

- run: npm i [email protected]
working-directory: ${{github.workspace}}

- run: npm run test:blockchain:allForks
working-directory: '${{ env.cwd }}'

Expand Down Expand Up @@ -115,4 +133,7 @@ jobs:
- run: npm i
working-directory: ${{github.workspace}}

- run: npm i [email protected]
working-directory: ${{github.workspace}}

- run: npm run test:state:slow
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/vm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"
Expand Down