You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
35
-
# The following `checkout` command checks out your code to your working directory. In 1.0 we did this implicitly. In 2.0 you can choose where in the course of a job your code should be checked out.
36
-
- checkout
37
-
# Prepare for artifact and test results collection equivalent to how it was done on 1.0.
38
-
# In many cases you can simplify this from what is generated here.
39
-
# 'See docs on artifact collection here https://circleci.com/docs/2.0/artifacts/'
command: nvm install 6.9.1 && nvm alias default 6.9.1
45
-
# Dependencies
46
-
# This would typically go in either a build or a build-and-test job when using workflows
47
-
# Restore the dependency cache
48
-
- restore_cache:
49
-
keys:
50
-
# This branch if available
51
-
- v1-dep-{{ .Branch }}-
52
-
# Default branch if not
53
-
- v1-dep-master-
54
-
# Any branch if there are none on the default branch - this should be unnecessary if you have your default branch configured correctly
55
-
- v1-dep-
56
-
# This is based on your 1.0 configuration file or project settings
57
-
- run: npm install
58
-
# Save dependency cache
59
-
- save_cache:
60
-
key: v1-dep-{{ .Branch }}-{{ epoch }}
61
-
paths:
62
-
# This is a broad list of cache paths to include many possible development environments
63
-
# You can probably delete some of these entries
64
-
- vendor/bundle
65
-
- ~/virtualenvs
66
-
- ~/.m2
67
-
- ~/.ivy2
68
-
- ~/.bundle
69
-
- ~/.go_workspace
70
-
- ~/.gradle
71
-
- ~/.cache/bower
72
-
- ./node_modules
73
-
# Test
74
-
# This would typically be a build job when using workflows, possibly combined with build
75
-
# This is based on your 1.0 configuration file or project settings
76
-
- run: npm run test
77
-
# Deployment
78
-
# Your existing circle.yml file contains deployment steps.
79
-
# The config translation tool does not support translating deployment steps
80
-
# since deployment in CircleCI 2.0 are better handled through workflows.
81
-
# See the documentation for more information https://circleci.com/docs/2.0/workflows/
82
-
# Teardown
83
-
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
84
-
# Save test results
85
-
- store_test_results:
86
-
path: /tmp/circleci-test-results
87
-
# Save artifacts
88
-
- store_artifacts:
89
-
path: /tmp/circleci-artifacts
90
-
- store_artifacts:
91
-
path: /tmp/circleci-test-results
32
+
# Machine Setup
33
+
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
34
+
# The following `checkout` command checks out your code to your working directory. In 1.0 we did this implicitly. In 2.0 you can choose where in the course of a job your code should be checked out.
35
+
- checkout
36
+
# Prepare for artifact and test results collection equivalent to how it was done on 1.0.
37
+
# In many cases you can simplify this from what is generated here.
38
+
# 'See docs on artifact collection here https://circleci.com/docs/2.0/artifacts/'
0 commit comments