mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-06 06:48:21 +00:00
Add seeding
This commit is contained in:
parent
1d9a66a692
commit
d544035e3b
1 changed files with 12 additions and 2 deletions
14
.github/workflows/cypress-marketplace.yml
vendored
14
.github/workflows/cypress-marketplace.yml
vendored
|
|
@ -142,8 +142,18 @@ jobs:
|
|||
sleep 5
|
||||
done'
|
||||
|
||||
- name: Seeding
|
||||
run: docker exec Tooljet-app npm run db:seed:prod
|
||||
- name: Seeding (Setup Super Admin)
|
||||
run: |
|
||||
curl 'http://localhost:3000/api/onboarding/setup-super-admin' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"companyName": "ToolJet",
|
||||
"name": "The Developer",
|
||||
"workspaceName": "Tooljet'\''s workspace",
|
||||
"email": "dev@tooljet.io",
|
||||
"password": "password"
|
||||
}'
|
||||
|
||||
|
||||
- name: Create Cypress environment file
|
||||
id: create-json
|
||||
|
|
|
|||
Loading…
Reference in a new issue