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
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: Setup Volta
uses: volta-cli/action@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4

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

- name: Build
run: npm run build
run: pnpm run build
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

8 changes: 4 additions & 4 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ All animations use Framer Motion with consistent easing: `[0.16, 1, 0.3, 1]`
## Scripts

```bash
npm run dev # Start dev server
npm run build # TypeScript check + Vite build
npm run lint # ESLint
npm run preview # Preview production build
pnpm dev # Start dev server
pnpm build # TypeScript check + Vite build
pnpm lint # ESLint
pnpm preview # Preview production build
```

## Routes
Expand Down
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
# Build stage
FROM node:22-alpine AS builder
FROM node:24-alpine AS builder

# Install pnpm
RUN corepack enable && corepack prepare pnpm@9.15.4 --activate

WORKDIR /app

# Copy package files
COPY package*.json ./
COPY package.json pnpm-lock.yaml ./

# Install dependencies
RUN npm ci
RUN pnpm install --frozen-lockfile

# Copy source files
COPY . .

# Build the application
RUN npm run build
RUN pnpm run build

# Production stage
FROM nginx:alpine
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,31 @@ Landing page for Loungebird - real-time lounge occupancy insights for London Hea

### Prerequisites

- Node.js 22+ (LTS)
- npm
- [Volta](https://volta.sh/) (recommended) - automatically uses correct Node.js and pnpm versions
- Or manually: Node.js 24+ and pnpm 9+

### Install dependencies

```bash
npm install
pnpm install
```

### Start development server

```bash
npm run dev
pnpm dev
```

### Build for production

```bash
npm run build
pnpm build
```

### Preview production build

```bash
npm run preview
pnpm preview
```

## Deployment
Expand Down
Loading
Loading