Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BDD_test_CI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sunhee Cho
BDD_test_CI
Commits
b29a3d31
Commit
b29a3d31
authored
3 years ago
by
Sunhee Cho
Browse files
Options
Downloads
Patches
Plain Diff
Add new file
parent
a595d9d7
No related branches found
No related tags found
No related merge requests found
Pipeline
#182941
failed
3 years ago
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+27
-0
27 additions, 0 deletions
.gitlab-ci.yml
with
27 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
27
−
0
View file @
b29a3d31
stages
:
-
test
variables
:
npm_config_cache
:
"
$CI_PROJECT_DIR/.npm"
CYPRESS_CACHE_FOLDER
:
"
$CI_PROJECT_DIR/cache/Cypress"
cache
:
key
:
${CI_COMMIT_REF_SLUG}
paths
:
-
.npm
-
cache/Cypress
-
node_modules
test
:
image
:
cypress/base:10
stage
:
test
script
:
# install dependencies
-
npm ci
# Kjør express-serveren i bakgrunnen
-
npm start &
# Kjør testene
-
npm test
artifacts
:
when
:
always
paths
:
-
cypress/videos
-
cypress/screenshots
expire_in
:
1 day
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment