Compare commits
4 Commits
e74ddb96ab
...
5b9601c474
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b9601c474 | ||
|
|
c47e7709bd | ||
|
|
df48b8817e | ||
|
|
121f83111e |
18
.github/workflows/test.yaml
vendored
18
.github/workflows/test.yaml
vendored
@@ -50,15 +50,11 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
frontend-build-${{ runner.os }}-
|
frontend-build-${{ runner.os }}-
|
||||||
|
|
||||||
- name: Copy frontend build to expected location
|
- name: create symlink to frontend build
|
||||||
run: |
|
run: ln -s ${{ github.workspace }}/apps/nxmesh-frontend/dist ${{ github.workspace }}/apps/nxmesh-master/frontend-dist
|
||||||
# unlink frontend-dist
|
|
||||||
rm -f apps/nxmesh-master/frontend-dist || true
|
|
||||||
rm -rf apps/nxmesh-master/frontend-dist || true
|
|
||||||
cp -r apps/nxmesh-frontend/dist apps/nxmesh-master/frontend-dist
|
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --all-features -- --show-output
|
run: cargo test --all-features
|
||||||
|
|
||||||
lint-crates:
|
lint-crates:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -86,12 +82,8 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
frontend-build-${{ runner.os }}-
|
frontend-build-${{ runner.os }}-
|
||||||
|
|
||||||
- name: Copy frontend build to expected location
|
- name: create symlink to frontend build
|
||||||
run: |
|
run: ln -s ${{ github.workspace }}/apps/nxmesh-frontend/dist ${{ github.workspace }}/apps/nxmesh-master/frontend-dist
|
||||||
# unlink frontend-dist
|
|
||||||
rm -f apps/nxmesh-master/frontend-dist || true
|
|
||||||
rm -rf apps/nxmesh-master/frontend-dist || true
|
|
||||||
cp -r apps/nxmesh-frontend/dist apps/nxmesh-master/frontend-dist
|
|
||||||
|
|
||||||
- name: Run clippy
|
- name: Run clippy
|
||||||
run: cargo clippy --all-features
|
run: cargo clippy --all-features
|
||||||
|
|||||||
Reference in New Issue
Block a user