1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 01:27:01 +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
uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '20.x'
cache: 'yarn'
cache-dependency-path: ui/yarn.lock

View File

@@ -2,7 +2,7 @@
### Build frontend
# 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
WORKDIR /build
COPY . .

View File

@@ -29,7 +29,7 @@ fi
index="$INBUCKET_WEB_UIDIR/index.html"
if ! test -f "$index"; then
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
fi

View File

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

View File

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