95
95
<< : *defaults
96
96
steps :
97
97
- attach_workspace : *attach_options
98
- - run : npm run lint
98
+ - run : yarn lint
99
99
- run : ' yarn bazel:format -mode=check ||
100
100
(echo "BUILD files not formatted. Please run '' yarn bazel:format'' " ; exit 1)'
101
101
# Run the skylark linter to check our Bazel rules
@@ -106,13 +106,13 @@ jobs:
106
106
<< : *defaults
107
107
steps :
108
108
- attach_workspace : *attach_options
109
- - run : npm run validate -- --ci
109
+ - run : yarn validate -- --ci
110
110
111
111
test :
112
112
<< : *defaults
113
113
steps :
114
114
- attach_workspace : *attach_options
115
- - run : npm run test -- --full
115
+ - run : yarn test -- --full
116
116
117
117
test-large :
118
118
<< : *defaults
@@ -122,8 +122,8 @@ jobs:
122
122
parallelism : 4
123
123
steps :
124
124
- attach_workspace : *attach_options
125
- - run : npm run webdriver-update
126
- - run : npm run test-large -- --full --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX}
125
+ - run : yarn webdriver-update
126
+ - run : yarn test-large -- --full --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX}
127
127
128
128
e2e-cli :
129
129
<< : *defaults
@@ -184,7 +184,7 @@ jobs:
184
184
<< : *defaults
185
185
steps :
186
186
- attach_workspace : *attach_options
187
- - run : npm run admin -- build
187
+ - run : yarn admin -- build
188
188
189
189
build-bazel :
190
190
<< : *defaults
@@ -205,7 +205,7 @@ jobs:
205
205
- run :
206
206
name : Deployment to Snapshot
207
207
command : |
208
- npm run admin -- snapshots --verbose --githubTokenFile=${HOME}/github_token
208
+ yarn admin -- snapshots --verbose --githubTokenFile=${HOME}/github_token
209
209
210
210
publish :
211
211
<< : *defaults
@@ -218,7 +218,7 @@ jobs:
218
218
- run :
219
219
name : Deployment to NPM
220
220
command : |
221
- npm run admin -- publish --verbose
221
+ yarn admin -- publish --verbose
222
222
223
223
# Windows jobs
224
224
# CircleCI support for Windows jobs is still in preview.
@@ -240,8 +240,8 @@ jobs:
240
240
- run : yarn install --frozen-lockfile
241
241
# Build and test should be on their own jobs, but restoring workspaces is too slow
242
242
# so we do it here.
243
- - run : npm run admin -- build
244
- - run : npm run test -- --full
243
+ - run : yarn admin -- build
244
+ - run : yarn test -- --full
245
245
# Run partial e2e suite on PRs only. Master will run the full e2e suite with sharding.
246
246
- run : if (Test-Path env:CIRCLE_PR_NUMBER) { node tests\legacy-cli\run_e2e.js "--glob=tests/{basic,ivy}/**" }
247
247
@@ -256,7 +256,7 @@ jobs:
256
256
- run : node --version
257
257
- run : yarn --version
258
258
- run : yarn install --frozen-lockfile
259
- - run : npm run admin -- build
259
+ - run : yarn admin -- build
260
260
- run : node tests\legacy-cli\run_e2e.js --nb-shards=$env:CIRCLE_NODE_TOTAL --shard=$env:CIRCLE_NODE_INDEX
261
261
262
262
workflows :
0 commit comments