File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,15 +61,20 @@ jobs:
6161 - uses : dart-lang/setup-dart@65eb853c7ba17dde3be364c3d2858773e7144260
6262 with :
6363 sdk : ${{ matrix.sdk }}
64+ # Node 22 has wasmGC enabled, which allows the wasm tests to run!
65+ - name : Setup Node.js 22
66+ uses : actions/setup-node@v6
67+ with :
68+ node-version : 22
6469 - id : install
6570 name : Install dependencies
6671 run : dart pub get
6772 - name : Run VM tests
6873 run : dart test --platform vm
6974 if : always() && steps.install.outcome == 'success'
7075 - name : Run Chrome tests
71- run : dart test --platform chrome
76+ run : dart test --platform chrome --compiler dart2js,dart2wasm
77+ if : always() && steps.install.outcome == 'success'
78+ - name : Run node tests
79+ run : dart test --platform node --compiler dart2js,dart2wasm
7280 if : always() && steps.install.outcome == 'success'
73- - name : Run Chrome tests - wasm
74- run : dart test --platform chrome -c dart2wasm
75- if : always() && steps.install.outcome == 'success' && matrix.sdk == 'dev'
You can’t perform that action at this time.
0 commit comments