Skip to content

Commit e8d6ca9

Browse files
committed
[CHORE] Switch from pnpm to npm
Hopefully this fixes the publish issues
1 parent f7a93b8 commit e8d6ca9

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,22 +48,21 @@ jobs:
4848
- name: Setup Node.js
4949
uses: actions/setup-node@v4
5050
with:
51-
node-version: "22.x"
51+
node-version: "22"
5252
registry-url: "https://registry.npmjs.org"
5353

54-
- name: Install pnpm
55-
uses: pnpm/action-setup@v4
56-
with:
57-
version: 10.20.0
54+
# Ensure npm 11.5.1 or later is installed
55+
- name: Update npm
56+
run: npm install -g npm@latest
5857

59-
- name: Install dependencies
60-
run: pnpm install --frozen-lockfile
58+
- name: Clean install
59+
run: npm ci
6160

6261
- name: Build
63-
run: pnpm build
62+
run: npm run build --if-present
6463

6564
- name: Run tests
66-
run: pnpm test
65+
run: npm test
6766

6867
- name: Publish to npm
6968
run: npm publish --provenance --access public

0 commit comments

Comments
 (0)