Skip to content

Commit

Permalink
feat: use node v20.12.1 and use node-slim instead of alpine (#205)
Browse files Browse the repository at this point in the history
Fixes #204
  • Loading branch information
codfish authored Apr 9, 2024
1 parent 3086e9d commit b0e57c9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 20.11.0
node-version-file: '.nvmrc'

- run: npm ci

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.11.0
v20.12.1
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM node:20.11.0-alpine
FROM node:20.12.1-slim

RUN apk add --no-cache git
RUN apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates git \
&& rm -rf /var/lib/apt/lists/*

# nice clean home for our action files
RUN mkdir /action
Expand Down

0 comments on commit b0e57c9

Please sign in to comment.