💚 Fix clean database script
This commit is contained in:
3
.github/workflows/clean-database.yml
vendored
3
.github/workflows/clean-database.yml
vendored
@ -16,5 +16,4 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: pnpm/action-setup@v2.2.2
|
- uses: pnpm/action-setup@v2.2.2
|
||||||
- run: pnpm i --frozen-lockfile
|
- run: pnpm i --frozen-lockfile
|
||||||
- run: cd ../db && pnpm db:generate && cd ../scripts
|
- run: pnpm turbo run db:cleanDatabase
|
||||||
- run: pnpm db:cleanDatabase
|
|
||||||
|
@ -35,6 +35,10 @@
|
|||||||
},
|
},
|
||||||
"db:push": {
|
"db:push": {
|
||||||
"cache": false
|
"cache": false
|
||||||
|
},
|
||||||
|
"db:cleanDatabase": {
|
||||||
|
"dependsOn": ["db#db:generate"],
|
||||||
|
"cache": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user