Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0fd00976
Commit
0fd00976
authored
Aug 16, 2021
by
Albert Salim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move yarn-install to before_script
parent
d3ecf7cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
.gitlab/ci/frontend.gitlab-ci.yml
.gitlab/ci/frontend.gitlab-ci.yml
+2
-5
No files found.
.gitlab/ci/frontend.gitlab-ci.yml
View file @
0fd00976
...
...
@@ -172,6 +172,8 @@ graphql-schema-dump:
# Disable warnings in browserslist which can break on backports
# https://github.com/browserslist/browserslist/blob/a287ec6/node.js#L367-L384
BROWSERSLIST_IGNORE_OLD_DATA
:
"
true"
before_script
:
-
*yarn-install
stage
:
test
eslint-as-if-foss
:
...
...
@@ -181,13 +183,11 @@ eslint-as-if-foss:
-
.as-if-foss
needs
:
[]
script
:
-
*yarn-install
-
run_timed_command "yarn run lint:eslint:all"
.jest-base
:
extends
:
.frontend-test-base
script
:
-
*yarn-install
-
run_timed_command "yarn jest --ci --coverage --testSequencer ./scripts/frontend/parallel_ci_sequencer.js"
jest
:
...
...
@@ -215,7 +215,6 @@ jest-integration:
-
.frontend-test-base
-
.frontend:rules:default-frontend-jobs
script
:
-
*yarn-install
-
run_timed_command "yarn jest:integration --ci"
needs
:
-
job
:
"
rspec
frontend_fixture"
...
...
@@ -321,7 +320,6 @@ bundle-size-review:
extends
:
-
.frontend-test-base
script
:
-
*yarn-install
-
run_timed_command "yarn generate:startup_css"
-
yarn check:startup_css
...
...
@@ -349,7 +347,6 @@ startup-css-check as-if-foss:
-
.frontend-test-base
-
.storybook-yarn-cache
script
:
-
*yarn-install
# storybook depends on the global webpack config, so we must install global deps.
-
*storybook-yarn-install
-
yarn run storybook:build
...
...
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