load ADMIN_API_TOKEN with dotenv-cli

This commit is contained in:
Lukas Hass
2022-02-18 16:37:50 +01:00
parent ed0e49d16e
commit 4eca2cbfaa
3 changed files with 177 additions and 10 deletions
+3 -2
View File
@@ -3,10 +3,11 @@
"@playwright/test": "^1.19.1",
"@types/dockerode": "^3.3.0",
"axios": "^0.24.0",
"dockerode": "^3.3.1"
"dockerode": "^3.3.1",
"dotenv-cli": "^5.0.0"
},
"scripts": {
"test": "playwright test",
"test": "dotenv -e ../.env -- playwright test",
"test-prod-like": "OVERRIDE_DOCKER_COMPOSE=docker-compose.e2e.yml npm run test"
}
}