Merge branch 'removing-artifacts' into 'main'
Update .gitlab-ci.yml file See merge request SinusFox/Operations-Research-Tool!45
This commit was merged in pull request #63.
This commit is contained in:
@@ -14,9 +14,6 @@ install_dependencies:
|
||||
cache:
|
||||
paths:
|
||||
- node_modules/
|
||||
artifacts:
|
||||
paths:
|
||||
- node_modules/
|
||||
# Run automatically on PRs to main
|
||||
only:
|
||||
- merge_requests
|
||||
@@ -35,9 +32,6 @@ build_nextjs:
|
||||
cache:
|
||||
paths:
|
||||
- .next/
|
||||
artifacts:
|
||||
paths:
|
||||
- .next/
|
||||
# Run automatically on PRs to main
|
||||
only:
|
||||
- merge_requests
|
||||
@@ -53,10 +47,6 @@ run_tests:
|
||||
- npm test # Replace with your test command (e.g. jest)
|
||||
dependencies:
|
||||
- install_dependencies
|
||||
artifacts:
|
||||
when: always
|
||||
paths:
|
||||
- test-reports/
|
||||
# Run automatically on PRs to main
|
||||
only:
|
||||
- merge_requests
|
||||
@@ -70,9 +60,6 @@ deploy:
|
||||
script:
|
||||
- mkdir public
|
||||
- cp -r .next/* public # Example for GitLab Pages, adjust as needed
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
# Only run on merge to main branch
|
||||
only:
|
||||
- main
|
||||
|
||||
Reference in New Issue
Block a user