Innopolis University DevOps Playground
Skip to content
Snippets Groups Projects
Commit 7aa4cce2 authored by evgeny's avatar evgeny
Browse files

remove unnesessary config

parent e7f0944e
No related branches found
No related tags found
1 merge request!2Dev
......@@ -10,32 +10,34 @@ cache:
paths:
- .yarn/cache
eslint:
stage: lint
before_script:
- yarn install --frozen-lockfile
script:
- yarn lint:eslint
check format:
stage: lint
before_script:
- yarn install --frozen-lockfile
script:
- yarn check:format
types:
stage: lint
before_script:
- yarn install --frozen-lockfile
script:
- yarn lint:types
#eslint:
# stage: lint
# before_script:
# - yarn install --frozen-lockfile
# script:
# - yarn lint:eslint
#
#check format:
# stage: lint
# before_script:
# - yarn install --frozen-lockfile
# script:
# - yarn check:format
#
#types:
# stage: lint
# before_script:
# - yarn install --frozen-lockfile
# script:
# - yarn lint:types
build visitor-portal:
stage: build
before_script:
- yarn install --frozen-lockfile
script: yarn build:visitor-portal
script:
- export VITE_BACKEND_URL=WWW_BACKEND
- yarn build:production:visitor-portal
artifacts:
when: always
paths:
......@@ -45,7 +47,9 @@ build quiz-passing:
stage: build
before_script:
- yarn install --frozen-lockfile
script: yarn build:quiz-passing
script:
- export VITE_BACKEND_URL=WWW_BACKEND
- yarn build:production:quiz-passing
artifacts:
when: always
paths:
......@@ -55,7 +59,9 @@ build dashboard:
stage: build
before_script:
- yarn install --frozen-lockfile
script: yarn build:dashboard
script:
- export VITE_BACKEND_URL=WWW_BACKEND
- yarn build:production:dashboard
artifacts:
when: always
paths:
......
......@@ -10,9 +10,9 @@
"lint:types:dashboard": "yarn workspace @quiz-web-engine/dashboard lint:types",
"lint:types": "yarn run lint:types:quiz-passing && yarn run lint:types:visitor-portal && yarn run lint:types:dashboard",
"lint:format": "prettier packages/* --write",
"build:visitor-portal": "yarn workspace @quiz-web-engine/visitor-portal build",
"build:quiz-passing": "yarn workspace @quiz-web-engine/quiz-passing build",
"build:dashboard": "yarn workspace @quiz-web-engine/dashboard build",
"build:production:visitor-portal": "yarn workspace @quiz-web-engine/visitor-portal build:production",
"build:production:quiz-passing": "yarn workspace @quiz-web-engine/quiz-passing build:production",
"build:production:dashboard": "yarn workspace @quiz-web-engine/dashboard build:production",
"dev": "concurrently \"yarn workspace @quiz-web-engine/visitor-portal dev\" \"yarn workspace @quiz-web-engine/dashboard dev\" \"yarn workspace @quiz-web-engine/quiz-passing dev\""
},
"workspaces": [
......
......@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "dotenv -e ../../.env.development.local -- vite",
"build": "vite build",
"build:production": "vite build",
"lint:types": "tsc",
"lint:eslint": "eslint . --ext ts,tsx --max-warnings 0",
"preview": "vite preview"
......
......@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "dotenv -e ../../.env.development.local -- vite",
"build": "vite build",
"build:production": "vite build",
"lint:types": "tsc",
"lint:eslint": "eslint . --ext ts,tsx --max-warnings 0",
"preview": "vite preview"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment