Merge pull request #11 from itsscb/fix-reparis-gh-action
fix: repairs gh action
This commit is contained in:
commit
9a7caf9eb3
8
.github/workflows/deploy.yml
vendored
8
.github/workflows/deploy.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user