Skip to content

Commit

Permalink
chore: working nix development for yew thanks to yewstack/yew-trunk-m…
Browse files Browse the repository at this point in the history
  • Loading branch information
nilp0inter committed Feb 4, 2023
1 parent 793b50d commit cebf49f
Show file tree
Hide file tree
Showing 13 changed files with 1,285 additions and 21 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/pr_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: pr_check

on:
workflow_dispatch:
push:
pull_request:
branches: [ master ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
override: true
profile: minimal
- name: Install trunk
uses: jetli/trunk-action@v0.1.0
with:
version: 'latest'
- name: Build
run: trunk build
- name: Run tests
run: cargo test --verbose
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/target
/target/
/dist/
.direnv
Loading

0 comments on commit cebf49f

Please sign in to comment.