Skip to content

Commit

Permalink
name GH Actions steps
Browse files Browse the repository at this point in the history
  • Loading branch information
idea404 committed May 4, 2022
1 parent 21ee368 commit 7254053
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@ jobs:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- uses: actions-rs/toolchain@v1
- name: Checkout branch
uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
- name: Install modules
run: yarn
- name: Run tests
env:
IS_GITHUB_ACTION: true
run: yarn build && cargo test -- --nocapture && ./test.sh
- name: Run unit tests
run: yarn test:unit
- name: Run integration tests
run: yarn test:integration
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ target
dist
*.lock
package-lock.json
res/**

# IDE
.idea
Expand Down

0 comments on commit 7254053

Please sign in to comment.