chore: convert code projects to use pnpm

This commit is contained in:
Ben McCann
2025-06-24 11:35:05 -07:00
parent 3751f8bc57
commit 345e14921c
22 changed files with 15321 additions and 40780 deletions

View File

@@ -33,21 +33,22 @@ jobs:
with:
persist-credentials: false
- name: Setup pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version-file: './cli/.nvmrc'
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
cache: 'pnpm'
- name: Prepare SDK
run: npm ci --prefix ../open-api/typescript-sdk/
run: pnpm install --frozen-lockfile
- name: Build SDK
run: npm run build --prefix ../open-api/typescript-sdk/
- run: npm ci
- run: npm run build
- run: npm publish
run: pnpm --dir ../open-api/typescript-sdk/ build
- run: pnpm build
- run: pnpm publish
if: ${{ github.event_name == 'release' }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}