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
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
|
node_modules
|
||||||
|
~/.cache/trunk
|
||||||
~/.cargo
|
~/.cargo
|
||||||
target/
|
target/
|
||||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||||
@ -29,6 +31,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
|
|
||||||
|
- name: Add Rust target wasm32-unknown-unknown
|
||||||
|
run: rustup target add wasm32-unknown-unknown
|
||||||
|
|
||||||
- name: Install Trunk
|
- name: Install Trunk
|
||||||
run: cargo install trunk
|
run: cargo install trunk
|
||||||
@ -42,14 +47,13 @@ jobs:
|
|||||||
run: npm install -g tailwindcss
|
run: npm install -g tailwindcss
|
||||||
|
|
||||||
- name: Build Frontend
|
- name: Build Frontend
|
||||||
|
working-directory: ./frontend
|
||||||
run: |
|
run: |
|
||||||
trunk build --release
|
trunk build --release
|
||||||
|
|
||||||
- name: Build and Test backend
|
- name: Build and Test backend
|
||||||
run: |
|
run: |
|
||||||
cargo build --verbose --release
|
cargo build --verbose --release
|
||||||
cargo test --verbose
|
cargo test --verbose
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user