fix: update migration and entity generation commands in CI workflow
All checks were successful
Test / get-ci-image (pull_request) Successful in 5s
Test / lint-frontend (pull_request) Successful in 26s
Test / frontend-build (pull_request) Successful in 24s
Verify / get-ci-image (pull_request) Successful in 6s
Test / test-frontend (pull_request) Successful in 33s
Test / lint-crates (pull_request) Successful in 1m52s
Test / test-crates (pull_request) Successful in 2m3s
Verify / verify-generated-db-entities (pull_request) Successful in 2m25s
All checks were successful
Test / get-ci-image (pull_request) Successful in 5s
Test / lint-frontend (pull_request) Successful in 26s
Test / frontend-build (pull_request) Successful in 24s
Verify / get-ci-image (pull_request) Successful in 6s
Test / test-frontend (pull_request) Successful in 33s
Test / lint-crates (pull_request) Successful in 1m52s
Test / test-crates (pull_request) Successful in 2m3s
Verify / verify-generated-db-entities (pull_request) Successful in 2m25s
This commit is contained in:
6
.github/workflows/verify.yaml
vendored
6
.github/workflows/verify.yaml
vendored
@@ -109,14 +109,14 @@ jobs:
|
||||
- name: Apply migrations
|
||||
if: steps.check_changes.outputs.changed == 'true'
|
||||
run: |
|
||||
cargo run -p nxmesh-migration -- up
|
||||
cd crates && sea-orm-cli migrate up
|
||||
|
||||
- name: Regenerate entities
|
||||
if: steps.check_changes.outputs.changed == 'true'
|
||||
run: |
|
||||
sea-orm-cli generate entity \
|
||||
cd crates && sea-orm-cli generate entity \
|
||||
--database-url "$DATABASE_URL" \
|
||||
--output-dir apps/nxmesh-master/src/db/entities \
|
||||
--output-dir ../apps/nxmesh-master/src/db/entities \
|
||||
--with-serde both \
|
||||
--with-copy-enums \
|
||||
--date-time-crate chrono
|
||||
|
||||
Reference in New Issue
Block a user