We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5acd6a3 commit 8f14cccCopy full SHA for 8f14ccc
guide/src/wasm-bindgen-test/continuous-integration.md
@@ -53,3 +53,22 @@ test_script:
53
- set GECKODRIVER=C:\Tools\WebDriver\geckodriver.exe
54
- cargo test --target wasm32-unknown-unknown
55
```
56
+
57
+## GitHub Actions
58
59
+```yaml
60
+on: [push, pull_request]
61
62
+jobs:
63
+ test:
64
+ runs-on: ubuntu-latest
65
+ steps:
66
+ - uses: actions/checkout@v2
67
68
+ - name: Install
69
+ run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
70
71
+ - run: cargo test
72
+ - run: wasm-pack test --headless --chrome
73
+ - run: wasm-pack test --headless --firefox
74
+```
0 commit comments