Skip to content

Commit

Permalink
Upgrade Node.js for test environments
Browse files Browse the repository at this point in the history
  • Loading branch information
yhatt committed Feb 16, 2025
1 parent d72c35e commit 6edae7e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ executors:
default: false
version:
type: string
default: '22.12.0' # Specify LTS major and minor for development
default: '22.14.0' # Specify LTS major and minor for development
docker:
- image: cimg/node:<< parameters.version >><<# parameters.browser >>-browsers<</ parameters.browser >>
working_directory: ~/marp-cli
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
fail-fast: false
matrix:
node-version:
- '^18.20.5'
- '^20.18.1'
- '22.12.0'
- '^18.20.6'
- '^20.18.3'
- '22.14.0'

steps:
# - name: Output concurrency group
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#################### Build Marp CLI ####################
FROM --platform=$BUILDPLATFORM node:22.12.0-bookworm-slim AS build
FROM --platform=$BUILDPLATFORM node:22.14.0-bookworm-slim AS build
WORKDIR /home/node/marp-cli
COPY . .
RUN npm ci && npm run build

#################### Create Marp CLI image ####################
FROM node:22.12.0-bookworm-slim
FROM node:22.14.0-bookworm-slim

# Set up user for Marp CLI
RUN groupadd -r marp && useradd -r -g marp marp && mkdir -p /home/marp/app /home/marp/.cli && chown -R marp:marp /home/marp
Expand Down

0 comments on commit 6edae7e

Please sign in to comment.