Skip to content

Commit

Permalink
Merge pull request #10 from geofmureithi/chore/move-to-signals
Browse files Browse the repository at this point in the history
Moved to signals
  • Loading branch information
geofmureithi authored Aug 4, 2023
2 parents e31f1f0 + 7bb0da6 commit d460399
Show file tree
Hide file tree
Showing 117 changed files with 7,658 additions and 5,385 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
- name: Install
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

- run: wasm-pack test --headless --chrome
- run: wasm-pack test --headless --chrome --features dom,app
working-directory: crates/hirola-core
- run: wasm-pack test --headless --firefox
- run: wasm-pack test --headless --firefox --features dom,app
working-directory: crates/hirola-core
- run: wasm-pack test --headless --chrome --features dom,app
- run: wasm-pack test --headless --firefox --features dom,app
21 changes: 7 additions & 14 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: GitHub Actions Vercel Preview Deployment
name: GitHub Actions Vercel Predom Deployment
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
Expand All @@ -7,7 +7,7 @@ on:
branches-ignore:
- main
jobs:
Deploy-Preview:
Deploy-Predom:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -17,19 +17,12 @@ jobs:
toolchain: stable
override: true

- name: Setup "wasm32-unknown-unknown" target
run: rustup target add wasm32-unknown-unknown

- name: Setup "wasm-bindgen-cli"
run: cargo install wasm-bindgen-cli

- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Install Trunk
run: wget -qO- https://github.com/thedodd/trunk/releases/download/v0.16.0/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-

- name: Build Documentation Artifacts
run: ./trunk --config ./examples/docs/Trunk.toml build
run: cargo run --release
working-directory: examples/docs

- name: Copy artifacts
run: cp -r ./examples/docs/dist/ ./public/

- name: Copy vercel config
run: cp ./vercel.json ./public/vercel.json
Expand Down
19 changes: 6 additions & 13 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,17 @@ jobs:
toolchain: stable
override: true

- name: Setup "wasm32-unknown-unknown" target
run: rustup target add wasm32-unknown-unknown

- name: Setup "wasm-bindgen-cli"
run: cargo install wasm-bindgen-cli

- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Install Trunk
run: wget -qO- https://github.com/thedodd/trunk/releases/download/v0.16.0/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-

- name: Build Documentation Artifacts
run: ./trunk --config ./examples/docs/Trunk.toml build
run: cargo run --release
working-directory: examples/docs

- name: Copy artifacts
run: cp -r ./examples/docs/dist/ ./public/

- name: Copy vercel config
run: cp ./vercel.json ./public/vercel.json

- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel --prod --token=${{ secrets.VERCEL_TOKEN }} --confirm
7 changes: 6 additions & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,10 @@ jobs:
profile: minimal
toolchain: stable
override: true
- run: cargo test
- run: cargo test --features dom,app
working-directory: crates/hirola-core
- run: cargo test
working-directory: crates/hirola-macros
- run: cargo test
working-directory: crates/hirola-kit
- run: cargo test
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"cSpell.words": [
"bindgen",
"hirola",
"templating"
]
}
Loading

0 comments on commit d460399

Please sign in to comment.