Skip to content

Commit 7428a79

Browse files
Switched to npm for bumpVersion workflow.
1 parent ef2231c commit 7428a79

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,17 @@ jobs:
1919
uses: actions/setup-node@v4
2020
with:
2121
node-version: 20.x
22-
cache: 'pnpm'
22+
cache: 'npm'
2323

24-
- name: "🧩 Setup pnpm"
25-
uses: pnpm/action-setup@v2
26-
with:
27-
version: 8
24+
- name: "🧩 Install dependencies (ci)"
25+
run: npm ci --legacy-peer-deps
2826

29-
- name: "🧩 Install dependencies"
30-
run: pnpm install
27+
- name: "🧩 Install semver for version bump"
28+
run: npm install semver
3129

3230
- name: "🔄 Auto-bump version (main only)"
3331
if: github.ref == 'refs/heads/main'
34-
run: pnpm exec node scripts/bumpVersion.js
32+
run: node scripts/bumpVersion.js
3533

3634
- name: '🔧 Configure Git for Automation'
3735
if: github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)