Skip to content

Commit 2f285d9

Browse files
committed
CI: fix CI
1 parent 54e42af commit 2f285d9

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

.github/workflows/CI.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,18 @@ jobs:
1313
with:
1414
node-version: "14.x"
1515
registry-url: "https://registry.npmjs.org"
16+
- uses: pnpm/[email protected]
17+
with:
18+
version: 6.0.2
1619

1720
- name: install deps
18-
run: yarn install --frozen-lockfile
21+
run: pnpm install --frozen-lockfile
1922

2023
- name: build
21-
run: yarn tsc
24+
run: pnpm tsc
2225

2326
- name: lint
24-
run: yarn lint
27+
run: pnpm lint
2528

2629
- name: check with prettier
27-
run: yarn prettier . --check
30+
run: pnpm prettier . --check

.github/workflows/publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,19 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v2
11-
1211
- uses: actions/setup-node@v1
1312
with:
1413
node-version: "14.x"
1514
registry-url: "https://registry.npmjs.org"
15+
- uses: pnpm/[email protected]
16+
with:
17+
version: 6.0.2
1618

1719
- name: install deps
18-
run: yarn install --frozen-lockfile
20+
run: pnpm install --frozen-lockfile
1921

2022
- name: build
21-
run: yarn vsce package
23+
run: pnpm vsce package
2224

2325
- name: Release
2426
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)