diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dfe2c1c..dbe0290 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/Dockerfile b/Dockerfile index 1517ff7..8a0627c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 . . diff --git a/etc/dev-start.sh b/etc/dev-start.sh index 0d8fc89..4be9449 100755 --- a/etc/dev-start.sh +++ b/etc/dev-start.sh @@ -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 diff --git a/shell.nix b/shell.nix index 9f11452..dcd1f31 100644 --- a/shell.nix +++ b/shell.nix @@ -25,7 +25,7 @@ pkgs.mkShell { go_1_21 golint gopls - nodejs_18 + nodejs_20 nodePackages.node-gyp nodePackages.yarn rpm diff --git a/ui/package.json b/ui/package.json index a959750..38cccc3 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,6 +1,6 @@ { "name": "inbucket-ui", - "version": "3.0.0", + "version": "3.1.0", "license": "MIT", "private": true, "scripts": {