Merge pull request #11 from itsscb/fix-reparis-gh-action

fix: repairs gh action
This commit is contained in:
itsscb 2024-08-23 16:26:57 +02:00 committed by GitHub
commit 9a7caf9eb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,6 +19,8 @@ jobs:
uses: actions/cache@v4
with:
path: |
node_modules
~/.cache/trunk
~/.cargo
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
@ -30,6 +32,9 @@ jobs:
profile: minimal
toolchain: stable
- name: Add Rust target wasm32-unknown-unknown
run: rustup target add wasm32-unknown-unknown
- name: Install Trunk
run: cargo install trunk
@ -42,14 +47,13 @@ jobs:
run: npm install -g tailwindcss
- name: Build Frontend
working-directory: ./frontend
run: |
trunk build --release
- name: Build and Test backend
run: |
cargo build --verbose --release
cargo test --verbose
deploy:
runs-on: ubuntu-latest
needs: build