diff --git a/.github/workflows/deploy-to-arweave.yaml b/.github/workflows/deploy-to-arweave.yaml index 09894e028..7fc540175 100644 --- a/.github/workflows/deploy-to-arweave.yaml +++ b/.github/workflows/deploy-to-arweave.yaml @@ -28,12 +28,12 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: "20.x" + node-version: "22.14.0" cache: "yarn" - name: Install dependencies @@ -48,12 +48,12 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: "20.x" + node-version: "22.14.0" cache: "yarn" - name: Install dependencies diff --git a/.github/workflows/pr-preview.yaml b/.github/workflows/pr-preview.yaml index 926670486..5567235a0 100644 --- a/.github/workflows/pr-preview.yaml +++ b/.github/workflows/pr-preview.yaml @@ -14,12 +14,12 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: "20.x" + node-version: "22.14.0" cache: "yarn" - name: Install dependencies @@ -35,12 +35,12 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: "20.x" + node-version: "22.14.0" cache: "yarn" - name: Install dependencies diff --git a/Dockerfile b/Dockerfile index be9220d96..0f47a8019 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # --------------------------------------- # 1) deps: install node_modules with good caching -FROM node:20-bullseye-slim AS deps +FROM node:22-bullseye-slim AS deps WORKDIR /app # Copy only the dependency manifests first for caching @@ -13,7 +13,7 @@ COPY source.config.ts ./ RUN yarn install --frozen-lockfile # 2) build: compile Next.js (static export) -FROM node:20-bullseye-slim AS build +FROM node:22-bullseye-slim AS build ENV NODE_ENV=production WORKDIR /app COPY --from=deps /app/node_modules ./node_modules