mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 09:37:02 +00:00
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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 . .
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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": {
|
||||||
|
|||||||
Reference in New Issue
Block a user