Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
6634c6c0
Commit
6634c6c0
authored
Feb 02, 2021
by
BryceLTaylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
circleci split build run step into lint, build, and test steps, store test results
parent
8d9bd280
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
.circleci/config.yml
.circleci/config.yml
+16
-2
No files found.
.circleci/config.yml
View file @
6634c6c0
...
...
@@ -47,13 +47,27 @@ aliases:
-
checkout
-
*restore_npm_cache
-
run
:
name
:
"
Run
npm
test
to
build
"
name
:
"
setup
and
run
lint
tests
"
command
:
|
npm --production=false install
WWW_VERSION=${CIRCLE_SHA1:0:5} npm run test
npm run test:lint
-
run
:
name
:
"
run
npm
build"
command
:
|
WWW_VERSION=${CIRCLE_SHA1:0:5} npm run build
-
run
:
name
:
"
Run
unit
tests"
command
:
|
npm run test:unit:jest
npm run test:unit:tap:ci
npm run test:unit:convertReportToXunit
-
*save_npm_cache
-
*save_git_cache
-
*save_build_cache
-
store_test_results
:
path
:
test/results
-
store_artifacts
:
path
:
test/results
-
&deploy
<<
:
*defaults
steps
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment