-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
37 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
- release | ||
|
||
env: | ||
NODE_VERSION: 18.x | ||
NODE_VERSION: 20.x | ||
RELEASE_BRANCH: release | ||
|
||
jobs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: Test | ||
env: | ||
NODE_VERSION: 18.x | ||
NODE_VERSION: 20.x | ||
|
||
on: | ||
pull_request: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,20 @@ | ||
FROM node:18-alpine AS dev | ||
FROM node:20-alpine AS dev | ||
|
||
# Prepare app directory | ||
WORKDIR /home/node/app | ||
COPY . . | ||
|
||
# Set up local user | ||
RUN mkdir /home/node/app/dist | ||
RUN npm install -g [email protected] | ||
|
||
# Install dependencies | ||
|
||
RUN npm install glob rimraf | ||
RUN npm install | ||
|
||
FROM node:18-alpine AS builder | ||
FROM node:20-alpine AS builder | ||
|
||
# Prepare app directory | ||
RUN npm install -g [email protected] | ||
WORKDIR /usr/src/app | ||
|
||
# Set up local user | ||
|
@@ -29,7 +27,7 @@ RUN npm run build | |
# Remove development dependencies | ||
RUN npm prune --production | ||
|
||
FROM node:18-alpine | ||
FROM node:20-alpine | ||
|
||
# Prepare app directory | ||
WORKDIR /home/node/app | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.