1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00

node: 20.x (#468)

Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
James Hillyerd
2024-02-04 21:25:43 -08:00
committed by GitHub
parent 599200d32e
commit d8746e8093
5 changed files with 5 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: '16.x' node-version: '20.x'
cache: 'yarn' cache: 'yarn'
cache-dependency-path: ui/yarn.lock cache-dependency-path: ui/yarn.lock

View File

@@ -2,7 +2,7 @@
### Build frontend ### Build frontend
# Due to no official elm compiler for arm; build frontend with amd64. # Due to no official elm compiler for arm; build frontend with amd64.
FROM --platform=linux/amd64 node:18 as frontend FROM --platform=linux/amd64 node:20 as frontend
RUN npm install -g node-gyp RUN npm install -g node-gyp
WORKDIR /build WORKDIR /build
COPY . . COPY . .

View File

@@ -29,7 +29,7 @@ fi
index="$INBUCKET_WEB_UIDIR/index.html" index="$INBUCKET_WEB_UIDIR/index.html"
if ! test -f "$index"; then if ! test -f "$index"; then
echo "$index does not exist!" >&2 echo "$index does not exist!" >&2
echo "Run 'npm run build' from the 'ui' directory." >&2 echo "Run 'yarn build' from the 'ui' directory." >&2
exit 1 exit 1
fi fi

View File

@@ -25,7 +25,7 @@ pkgs.mkShell {
go_1_21 go_1_21
golint golint
gopls gopls
nodejs_18 nodejs_20
nodePackages.node-gyp nodePackages.node-gyp
nodePackages.yarn nodePackages.yarn
rpm rpm

View File

@@ -1,6 +1,6 @@
{ {
"name": "inbucket-ui", "name": "inbucket-ui",
"version": "3.0.0", "version": "3.1.0",
"license": "MIT", "license": "MIT",
"private": true, "private": true,
"scripts": { "scripts": {