mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-27 01:02:14 +05:30
0281c55463
* Add gitlab-ci configuration * Attempt to fix cypress binary installation cache * Even more improve caching, add wait-on step to ensure, that web server is ready to run cypress * Exclude cache directory from linting * Do not cache yarn's global cache to reduce the size of the cache to upload * Disable Sentry for e2e tests, enable parallelization for cypress * Store build artifacts * Add dev deployment stage * Try to fix commits association * Fix sentry-cli param name * Disable host checking for rsync * Disable host checking via ssh config * Add production deployment step * Fix deployment Sentry notifying, allow performing auto deployment with special commit message * Make autodeploy [deploy] * Cleanup test branch refs * Remove environment definition. Detect it based on the domain name * Store cache for E2E tests separately
14 lines
302 B
JavaScript
14 lines
302 B
JavaScript
/* eslint-env node */
|
|
|
|
require('dotenv').config();
|
|
|
|
const { env } = process;
|
|
|
|
module.exports = {
|
|
version: env.VERSION || env.NODE_ENV,
|
|
apiHost: env.API_HOST || 'https://dev.account.ely.by',
|
|
ga: env.GA_ID && { id: env.GA_ID },
|
|
sentryDSN: env.SENTRY_DSN,
|
|
crowdinApiKey: env.CROWDIN_API_KEY,
|
|
};
|