Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- main
pull_request:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
Expand All @@ -30,14 +33,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
- name: Setup pnpm and Node
uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2
with:
node-version: 22
cache: npm
runtime: node@22
cache: true
install: false

- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile

- name: Install Pi sandbox dependencies
if: matrix.os == 'ubuntu-latest'
Expand All @@ -49,15 +53,15 @@ jobs:
fi

- name: Typecheck
run: npm run typecheck
run: pnpm typecheck

- name: Test
env:
DEVSPACE_REQUIRE_PI_SANDBOX: ${{ matrix.os == 'ubuntu-latest' && '1' || '0' }}
run: npm test
run: pnpm test

- name: Build
run: npm run build
run: pnpm build

- name: Doctor
run: node dist/cli.js doctor
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,14 @@ This year, I began my journey to build a one-person, multi-agent company capable

For working on DevSpace itself:

Install pnpm 11.25.0, the version pinned in `package.json`, with
`npm install --global pnpm@11.25.0`, then:

```bash
npm install --include=dev
npm run dev
npm run typecheck
npm test
npm run build
npm run start
pnpm install --frozen-lockfile
pnpm dev
pnpm typecheck
pnpm test
pnpm build
pnpm start
```
7 changes: 5 additions & 2 deletions docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,12 @@ Git, Bash, public URL, allowed hosts, and SQLite native dependency status.

If you are developing DevSpace itself instead of using the published package:

Local checkout development additionally requires pnpm 11.25.0, the version
pinned in `package.json`. Install it with `npm install --global pnpm@11.25.0`.

```bash
npm install --include=dev
npm run dev
pnpm install --frozen-lockfile
pnpm dev
Comment thread
Waishnav marked this conversation as resolved.
```

The same setup rules apply.
Loading
Loading