We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7a93b8 commit e8d6ca9Copy full SHA for e8d6ca9
.github/workflows/publish.yml
@@ -48,22 +48,21 @@ jobs:
48
- name: Setup Node.js
49
uses: actions/setup-node@v4
50
with:
51
- node-version: "22.x"
+ node-version: "22"
52
registry-url: "https://registry.npmjs.org"
53
54
- - name: Install pnpm
55
- uses: pnpm/action-setup@v4
56
- with:
57
- version: 10.20.0
+ # Ensure npm 11.5.1 or later is installed
+ - name: Update npm
+ run: npm install -g npm@latest
58
59
- - name: Install dependencies
60
- run: pnpm install --frozen-lockfile
+ - name: Clean install
+ run: npm ci
61
62
- name: Build
63
- run: pnpm build
+ run: npm run build --if-present
64
65
- name: Run tests
66
- run: pnpm test
+ run: npm test
67
68
- name: Publish to npm
69
run: npm publish --provenance --access public
0 commit comments