Create FUNDING.yml #168
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Rust | |
uses: hecrj/setup-rust-action@v1 | |
with: | |
components: clippy,rustfmt | |
- name: Install wasm-pack | |
uses: jetli/[email protected] | |
- name: Run tests in Node.js | |
run: wasm-pack test --node | |
- name: Run tests in Chrome | |
run: wasm-pack test --headless --chrome | |
- name: Run tests in Firefox | |
run: wasm-pack test --headless --firefox | |
- name: Clippy checks | |
run: cargo clippy --all-targets -- -D warnings | |
- name: Format | |
run: cargo fmt | |
- name: Commit changes if any | |
uses: stefanzweifel/git-auto-commit-action@v4 |