ci: switch from npm to pnpm for monorepo support

This commit is contained in:
Rohit Ghumare
2026-01-23 00:18:29 +00:00
parent 241b1df5ba
commit da84af265d
4 changed files with 2843 additions and 11 deletions
+10 -5
View File
@@ -17,20 +17,25 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache: 'pnpm'
- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Type check
run: npm run typecheck
run: pnpm typecheck
- name: Build
run: npm run build
run: pnpm build
- name: Test
run: npm test
run: pnpm test
+9 -4
View File
@@ -16,21 +16,26 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Build
run: npm run build
run: pnpm build
- name: Test
run: npm test
run: pnpm test
- name: Publish to npm
run: npm publish --provenance --access public
+5 -2
View File
@@ -29,7 +29,6 @@ npm-debug.log*
# Package manager
yarn.lock
pnpm-lock.yaml
# Temporary files
tmp/
@@ -56,4 +55,8 @@ temp/
.agent/
# SkillKit config
skillkit.yaml
skillkit.yaml
.skillkit/
# Turbo cache
.turbo/
+2819
View File
File diff suppressed because it is too large Load Diff