feat: Add symlink creation for frontend build in test workflow
Some checks failed
Test / get-ci-image (pull_request) Successful in 6s
Test / lint-frontend (pull_request) Successful in 24s
Test / frontend-build (pull_request) Successful in 22s
Verify / get-ci-image (pull_request) Successful in 4s
Test / test-frontend (pull_request) Successful in 37s
Test / lint-crates (pull_request) Successful in 2m31s
Test / test-crates (pull_request) Failing after 2m50s
Verify / verify-generated-db-entities (pull_request) Successful in 3m0s
Some checks failed
Test / get-ci-image (pull_request) Successful in 6s
Test / lint-frontend (pull_request) Successful in 24s
Test / frontend-build (pull_request) Successful in 22s
Verify / get-ci-image (pull_request) Successful in 4s
Test / test-frontend (pull_request) Successful in 37s
Test / lint-crates (pull_request) Successful in 2m31s
Test / test-crates (pull_request) Failing after 2m50s
Verify / verify-generated-db-entities (pull_request) Successful in 3m0s
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
9
.github/workflows/test.yaml
vendored
9
.github/workflows/test.yaml
vendored
@@ -50,6 +50,9 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
frontend-build-${{ runner.os }}-
|
frontend-build-${{ runner.os }}-
|
||||||
|
|
||||||
|
- name: create symlink to frontend build
|
||||||
|
run: ln -s ${{ github.workspace }}/apps/nxmesh-frontend/dist ${{ github.workspace }}/apps/nxmesh-master/frontend-dist
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --all-features
|
run: cargo test --all-features
|
||||||
|
|
||||||
@@ -79,6 +82,9 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
frontend-build-${{ runner.os }}-
|
frontend-build-${{ runner.os }}-
|
||||||
|
|
||||||
|
- name: create symlink to frontend build
|
||||||
|
run: ln -s ${{ github.workspace }}/apps/nxmesh-frontend/dist ${{ github.workspace }}/apps/nxmesh-master/frontend-dist
|
||||||
|
|
||||||
- name: Run clippy
|
- name: Run clippy
|
||||||
run: cargo clippy --all-features
|
run: cargo clippy --all-features
|
||||||
|
|
||||||
@@ -149,5 +155,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: apps/nxmesh-frontend/dist
|
path: apps/nxmesh-frontend/dist
|
||||||
key: frontend-build-${{ runner.os }}-run-${{ github.run_id }}
|
key: frontend-build-${{ runner.os }}-run-${{ github.run_id }}
|
||||||
restore-keys: |
|
# IGNORE restore-keys
|
||||||
frontend-build-${{ runner.os }}-
|
|
||||||
|
|||||||
Reference in New Issue
Block a user