fix versions (#246) #695
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-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
# Setup .npmrc file to publish to npm | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18.x" | |
registry-url: "https://registry.npmjs.org" | |
- name: Tests | |
run: | | |
pnpm install | |
pnpm prettier:check | |
pnpm lint | |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
cargo clippy | |
pnpm wasm:dev | |
DEBUG=true pnpm all | |
git add . | |
git diff-index --cached --quiet HEAD || (echo "Error: There are changed files" && exit 1) |