Skip to content

Commit 4ef6263

Browse files
Copilotrzhao271
andcommitted
Migrate from Yarn to npm: add package-lock.json, remove yarn.lock, update CI and build pipelines
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>
1 parent c4942b9 commit 4ef6263

5 files changed

Lines changed: 4468 additions & 2371 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ jobs:
1212
- uses: actions/setup-node@v1
1313
with:
1414
node-version: ${{ matrix.node-version }}
15-
- run: yarn install --frozen-lockfile
16-
- run: yarn test
15+
- run: npm ci
16+
- run: npm test

build/pre-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ extends:
1515
template: azure-pipelines/extension/pre-release.yml@templates
1616
parameters:
1717
buildSteps:
18-
- script: yarn install --frozen-lockfile
18+
- script: npm ci
1919
displayName: Install dependencies
2020

21-
- script: yarn run test
21+
- script: npm test
2222
displayName: Typecheck extension
2323

2424
tsa:

build/stable.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ extends:
2424
template: azure-pipelines/extension/stable.yml@templates
2525
parameters:
2626
buildSteps:
27-
- script: yarn install --frozen-lockfile
27+
- script: npm ci
2828
displayName: Install dependencies
2929

30-
- script: yarn run test
30+
- script: npm test
3131
displayName: Typecheck extension
3232

3333
tsa:

0 commit comments

Comments
 (0)