diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc63bb610..ebc0d5f3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -156,13 +156,17 @@ jobs: # hence the tests name: ${{ matrix.name }} WASM test runs-on: ubuntu-latest + continue-on-error: ${{ matrix.experimental }} strategy: fail-fast: true matrix: + node: [ "lts/*" ] + experimental: [ false ] name: - matrix-sdk-example-wasm_command_bot + - "matrix-sdk-example-wasm_command_bot@latest Node" - matrix-sdk-base - matrix-sdk-crypto - matrix-sdk @@ -185,6 +189,15 @@ jobs: npm test wasm-pack test --firefox --headless + - name: "matrix-sdk-example-wasm_command_bot@latest Node" + experimental: true # this might fail + node: "node" # building with latest + base_dir: matrix-sdk/examples/wasm_command_bot + cmd: | + npm install + npm test + wasm-pack test --firefox --headless + steps: - name: Checkout the repo uses: actions/checkout@v2 @@ -208,6 +221,11 @@ jobs: profile: minimal override: true + - name: Setup Node + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node }} + - name: Install emscripten uses: mymindstorm/setup-emsdk@v11