Skip to content

Commit

Permalink
Merge pull request #976 from rainlanguage/setup-monorepo
Browse files Browse the repository at this point in the history
Setup monorepo
  • Loading branch information
hardyjosh authored Nov 7, 2024
2 parents 5a2a0ce + ecca08d commit 8dd2d49
Show file tree
Hide file tree
Showing 54 changed files with 9,546 additions and 4,889 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tauri.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- uses: DeterminateSystems/magic-nix-cache-action@v2

- run: ./prep-tauri.sh

- run: nix develop .#tauri-shell --command ob-tauri-before-build-ci
working-directory: ./tauri-app
env:
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/test-ui-components.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test ui-components
on: [push]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0

- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

- run: nix develop -c bash -c "npm run build-ui && cd packages/ui-components && npm run test"


lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0

- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix develop -c bash -c "npm run build-ui && cd packages/ui-components && npm run svelte-lint-format-check"
30 changes: 30 additions & 0 deletions .github/workflows/test-webapp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Test webapp
on: [push]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0

- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

- run: nix develop -c bash -c "npm run build-ui && cd packages/webapp && npm run test"



lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0

- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix develop -c bash -c "npm run build-ui && cd packages/webapp && npm run svelte-lint-format-check"
Loading

0 comments on commit 8dd2d49

Please sign in to comment.