Add release workflow #287
Workflow file for this run
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: Tests | |
on: [push] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- uses: Swatinem/rust-cache@v1 | |
- run: npm install -g pnpm | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: clippy | |
# Build script in previous action should build js, | |
# so we don't need to run pnpm build here. | |
- run: pnpm test && pnpm lint | |
working-directory: js |