fixed bug

This commit is contained in:
Amirhossein Mahmoodi
2024-11-05 10:20:26 +03:30
parent 10d4959ff8
commit 987ac1d316

View File

@@ -14,8 +14,8 @@ merge:test:lint:
stage: lint
script:
- npm install
- cp example.env.local .env.local
- cp example.env.local .env.test
- cp .env.local.example .env.local
- cp .env.local.example .env.test
- npm run lint
only:
- merge_requests
@@ -24,8 +24,8 @@ merge:test:jest:
stage: test
script:
- npm install
- cp example.env.local .env.local
- cp example.env.local .env.test
- cp .env.local.example .env.local
- cp .env.local.example .env.test
- npm run test
only:
- merge_requests
@@ -34,8 +34,8 @@ merge:test:jest:
# stage: test:build
# script:
# - npm install
# - cp example.env.local .env.local
# - cp example.env.local .env.test
# - cp .env.local.example .env.local
# - cp .env.local.example .env.test
# - npm run build
# only:
# - merge_requests
@@ -44,8 +44,8 @@ test:lint:
stage: lint
script:
- npm install
- cp example.env.local .env.local
- cp example.env.local .env.test
- cp .env.local.example .env.local
- cp .env.local.example .env.test
- npm run lint
only:
- develop
@@ -55,8 +55,8 @@ test:jest:
stage: test
script:
- npm install
- cp example.env.local .env.local
- cp example.env.local .env.test
- cp .env.local.example .env.local
- cp .env.local.example .env.test
- npm run test
only:
- develop
@@ -66,8 +66,8 @@ test:jest:
# stage: test:build
# script:
# - npm install
# - cp example.env.local .env.local
# - cp example.env.local .env.test
# - cp .env.local.example .env.local
# - cp .env.local.example .env.test
# - npm run build
# only:
# - develop
@@ -78,4 +78,4 @@ deploy:
script:
- echo "Run deploy project"
only:
- main
- main