Skip to content

Commit 10e994a

Browse files
committed
fix(ci): use npm instead of pnpm
1 parent f946169 commit 10e994a

1 file changed

Lines changed: 4 additions & 21 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,33 +20,16 @@ jobs:
2020
uses: actions/setup-node@v4
2121
with:
2222
node-version: '20'
23-
24-
- name: Setup pnpm
25-
uses: pnpm/action-setup@v3
26-
with:
27-
version: 8
28-
29-
- name: Get pnpm store directory
30-
shell: bash
31-
run: |
32-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
33-
34-
- name: Setup pnpm cache
35-
uses: actions/cache@v4
36-
with:
37-
path: ${{ env.STORE_PATH }}
38-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
39-
restore-keys: |
40-
${{ runner.os }}-pnpm-store-
23+
cache: 'npm'
4124

4225
- name: Install dependencies
43-
run: pnpm install --frozen-lockfile
26+
run: npm ci
4427

4528
- name: Type check
46-
run: pnpm type-check
29+
run: npm run type-check
4730

4831
- name: Build extension
49-
run: pnpm build
32+
run: npm run build
5033

5134
- name: Upload build artifact
5235
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)