Skip to content

Commit cebf49f

Browse files
committed
chore: working nix development for yew thanks to yewstack/yew-trunk-minimal-template#5
1 parent 793b50d commit cebf49f

13 files changed

+1285
-21
lines changed

.github/workflows/pr_check.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: pr_check
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
pull_request:
7+
branches: [ master ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: install toolchain
20+
uses: actions-rs/toolchain@v1
21+
with:
22+
toolchain: stable
23+
target: wasm32-unknown-unknown
24+
override: true
25+
profile: minimal
26+
- name: Install trunk
27+
uses: jetli/[email protected]
28+
with:
29+
version: 'latest'
30+
- name: Build
31+
run: trunk build
32+
- name: Run tests
33+
run: cargo test --verbose

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
/target
1+
/target/
2+
/dist/
23
.direnv

0 commit comments

Comments
 (0)