90
90
<< : *defaults
91
91
steps :
92
92
- attach_workspace : *attach_options
93
- - run : npm run lint
93
+ - run : yarn lint
94
94
- run : ' yarn bazel:format -mode=check ||
95
95
(echo "BUILD files not formatted. Please run '' yarn bazel:format'' " ; exit 1)'
96
96
# Run the skylark linter to check our Bazel rules
@@ -101,13 +101,13 @@ jobs:
101
101
<< : *defaults
102
102
steps :
103
103
- attach_workspace : *attach_options
104
- - run : npm run validate -- --ci
104
+ - run : yarn validate -- --ci
105
105
106
106
test :
107
107
<< : *defaults
108
108
steps :
109
109
- attach_workspace : *attach_options
110
- - run : npm run test -- --full
110
+ - run : yarn test -- --full
111
111
112
112
test-large :
113
113
<< : *defaults
@@ -117,8 +117,8 @@ jobs:
117
117
parallelism : 4
118
118
steps :
119
119
- attach_workspace : *attach_options
120
- - run : npm run webdriver-update
121
- - run : npm run test-large -- --full --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX}
120
+ - run : yarn webdriver-update
121
+ - run : yarn test-large -- --full --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX}
122
122
123
123
e2e-cli :
124
124
<< : *defaults
@@ -179,7 +179,7 @@ jobs:
179
179
<< : *defaults
180
180
steps :
181
181
- attach_workspace : *attach_options
182
- - run : npm run admin -- build
182
+ - run : yarn admin -- build
183
183
184
184
build-bazel :
185
185
<< : *defaults
@@ -200,7 +200,7 @@ jobs:
200
200
- run :
201
201
name : Deployment to Snapshot
202
202
command : |
203
- npm run admin -- snapshots --verbose --githubTokenFile=${HOME}/github_token
203
+ yarn admin -- snapshots --verbose --githubTokenFile=${HOME}/github_token
204
204
205
205
publish :
206
206
<< : *defaults
@@ -213,7 +213,7 @@ jobs:
213
213
- run :
214
214
name : Deployment to NPM
215
215
command : |
216
- npm run admin -- publish --verbose
216
+ yarn admin -- publish --verbose
217
217
218
218
# Windows jobs
219
219
# CircleCI support for Windows jobs is still in preview.
@@ -235,8 +235,8 @@ jobs:
235
235
- run : yarn install --frozen-lockfile
236
236
# Build and test should be on their own jobs, but restoring workspaces is too slow
237
237
# so we do it here.
238
- - run : npm run admin -- build
239
- - run : npm run test -- --full
238
+ - run : yarn admin -- build
239
+ - run : yarn test -- --full
240
240
# Run partial e2e suite on PRs only. Master will run the full e2e suite with sharding.
241
241
- run : if (Test-Path env:CIRCLE_PR_NUMBER) { node tests\legacy-cli\run_e2e.js "--glob=tests/{basic,ivy}/**" }
242
242
@@ -251,7 +251,7 @@ jobs:
251
251
- run : node --version
252
252
- run : yarn --version
253
253
- run : yarn install --frozen-lockfile
254
- - run : npm run admin -- build
254
+ - run : yarn admin -- build
255
255
- run : node tests\legacy-cli\run_e2e.js --nb-shards=$env:CIRCLE_NODE_TOTAL --shard=$env:CIRCLE_NODE_INDEX
256
256
257
257
workflows :
0 commit comments