Compare commits
No commits in common. "main" and "codex/download-library" have entirely different histories.
main
...
codex/down
3 changed files with 4 additions and 5645 deletions
|
|
@ -1,34 +0,0 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
# This label must point to an isolated runner that has Node.js, Git,
|
||||
# the Docker CLI, and access to a Docker/Podman daemon.
|
||||
runs-on: docker-build
|
||||
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: https://data.forgejo.org/actions/checkout@v6
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: https://data.forgejo.org/actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Typecheck
|
||||
run: npm run typecheck
|
||||
|
||||
- name: Build and test
|
||||
run: npm test
|
||||
|
||||
- name: Build container image
|
||||
run: docker build --tag webstack-author:ci .
|
||||
|
|
@ -6,8 +6,8 @@ WORKDIR /app
|
|||
# Copy dependency manifests
|
||||
COPY package*.json ./
|
||||
|
||||
# Install exactly the dependency versions recorded in package-lock.json
|
||||
RUN npm ci
|
||||
# Install all dependencies
|
||||
RUN npm install
|
||||
|
||||
# Copy full application codebase
|
||||
COPY . .
|
||||
|
|
@ -23,8 +23,8 @@ WORKDIR /app
|
|||
# Copy configuration files
|
||||
COPY package*.json ./
|
||||
|
||||
# Install exactly the locked production dependencies
|
||||
RUN npm ci --omit=dev
|
||||
# Install only production dependencies (Express, dotenv, @google/genai)
|
||||
RUN npm install --omit=dev
|
||||
|
||||
# Copy compiled build resources from builder stage
|
||||
COPY --from=builder /app/dist ./dist
|
||||
|
|
|
|||
5607
package-lock.json
generated
5607
package-lock.json
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue