38
38
data/
39
39
tools/
40
40
package.json
41
- yarn. lock
41
+ pnpm- lock.yaml
42
42
codecov.yml
43
43
44
44
jobs :
@@ -121,7 +121,7 @@ jobs:
121
121
FILTER_SHARDS : ${{ github.event.pull_request.draft && 'true' || '' }}
122
122
CHANGED_FILES : ${{ steps.changed-files.outputs.changed-files }}
123
123
run : |
124
- echo "$(yarn -s schedule-test-shards)" >> "$GITHUB_OUTPUT"
124
+ echo "$(pnpm -s schedule-test-shards)" >> "$GITHUB_OUTPUT"
125
125
126
126
prefetch :
127
127
needs : [setup]
@@ -187,7 +187,7 @@ jobs:
187
187
key : eslint-main-cache
188
188
189
189
- name : Lint
190
- run : yarn -s eslint-ci
190
+ run : pnpm -s eslint-ci
191
191
192
192
- name : Remove cache
193
193
if : github.event_name == 'push'
@@ -230,7 +230,7 @@ jobs:
230
230
key : prettier-main-cache
231
231
232
232
- name : Lint
233
- run : yarn -s prettier --cache-location .cache/prettier
233
+ run : pnpm -s prettier --cache-location .cache/prettier
234
234
235
235
- name : Remove cache
236
236
if : github.event_name == 'push'
@@ -267,10 +267,10 @@ jobs:
267
267
uses : DavidAnson/markdownlint-cli2-action@8f3516061301755c97ff833a8e933f09282cc5b5 # v11.0.0
268
268
269
269
- name : Lint fenced code blocks
270
- run : yarn -s doc-fence-check
270
+ run : pnpm -s doc-fence-check
271
271
272
272
- name : Lint documentation
273
- run : yarn -s lint-documentation
273
+ run : pnpm -s lint-documentation
274
274
275
275
lint-other :
276
276
needs : [setup]
@@ -288,13 +288,13 @@ jobs:
288
288
os : ${{ runner.os }}
289
289
290
290
- name : Lint project file structure
291
- run : yarn -s ls-lint
291
+ run : pnpm -s ls-lint
292
292
293
293
- name : Check git version
294
- run : yarn -s git-check
294
+ run : pnpm -s git-check
295
295
296
296
- name : Test schema
297
- run : yarn -s test-schema
297
+ run : pnpm -s test-schema
298
298
299
299
test :
300
300
needs : [setup, prefetch]
@@ -331,7 +331,7 @@ jobs:
331
331
}}-${{
332
332
env.NODE_VERSION
333
333
}}-${{
334
- hashFiles('yarn. lock')
334
+ hashFiles('pnpm- lock.yaml ')
335
335
}}-${{
336
336
matrix.cache-key
337
337
}}
@@ -341,7 +341,7 @@ jobs:
341
341
run : |
342
342
for shard in ${{ matrix.shards }};
343
343
do
344
- TEST_SHARD="$shard" yarn -s jest \
344
+ TEST_SHARD="$shard" pnpm -s jest \
345
345
--ci \
346
346
--test-timeout ${{ matrix.test-timeout-milliseconds }} \
347
347
--coverage ${{ matrix.coverage }}
@@ -396,11 +396,11 @@ jobs:
396
396
os : ${{ runner.os }}
397
397
398
398
- name : Merge coverage reports
399
- run : yarn -s nyc merge ./coverage/json ./coverage/nyc/coverage.json
399
+ run : pnpm nyc merge ./coverage/json ./coverage/nyc/coverage.json
400
400
401
401
- name : Check coverage threshold
402
402
run : |
403
- yarn -s nyc check-coverage -t ./coverage/nyc \
403
+ pnpm nyc check-coverage -t ./coverage/nyc \
404
404
--branches 98 \
405
405
--functions 100 \
406
406
--lines 100 \
@@ -455,10 +455,10 @@ jobs:
455
455
os : ${{ runner.os }}
456
456
457
457
- name : Build
458
- run : yarn -s build
458
+ run : pnpm -s build
459
459
460
460
- name : Pack
461
- run : yarn -s test-e2e:pack
461
+ run : pnpm -s test-e2e:pack
462
462
463
463
- name : Upload
464
464
uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
@@ -482,7 +482,7 @@ jobs:
482
482
os : ${{ runner.os }}
483
483
484
484
- name : Build
485
- run : yarn -s build:docs
485
+ run : pnpm -s build:docs
486
486
487
487
- name : Upload
488
488
uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
@@ -516,10 +516,10 @@ jobs:
516
516
name : renovate-package
517
517
518
518
- name : Install dependencies
519
- run : yarn -s test-e2e:install
519
+ run : pnpm -s test-e2e:install
520
520
521
521
- name : E2E Test
522
- run : yarn -s test-e2e:run
522
+ run : pnpm -s test-e2e:run
523
523
524
524
release :
525
525
needs :
@@ -564,8 +564,8 @@ jobs:
564
564
565
565
- name : semantic-release
566
566
run : |
567
- echo '//registry.yarnpkg.com /:_authToken=${NPM_TOKEN}' >> ./.npmrc
568
- yarn -s semantic-release --dry-run ${{env.DRY_RUN}}
567
+ echo '//registry.npmjs.org /:_authToken=${NPM_TOKEN}' >> ./.npmrc
568
+ pnpm -s semantic-release --dry-run ${{env.DRY_RUN}}
569
569
git checkout -- .npmrc
570
570
env :
571
571
GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
0 commit comments