mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2024-12-05 00:39:25 +08:00
node v20 → v18
This commit is contained in:
parent
94d0016674
commit
12c69ee949
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '18'
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
cd src
|
cd src
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM docker.io/library/node:20-alpine AS build_node_modules
|
FROM docker.io/library/node:18-alpine AS build_node_modules
|
||||||
|
|
||||||
# Copy Web UI
|
# Copy Web UI
|
||||||
COPY src/ /app/
|
COPY src/ /app/
|
||||||
@ -7,7 +7,7 @@ RUN npm ci --production
|
|||||||
|
|
||||||
# Copy build result to a new image.
|
# Copy build result to a new image.
|
||||||
# This saves a lot of disk space.
|
# This saves a lot of disk space.
|
||||||
FROM docker.io/library/node:20-alpine
|
FROM docker.io/library/node:18-alpine
|
||||||
COPY --from=build_node_modules /app /app
|
COPY --from=build_node_modules /app /app
|
||||||
|
|
||||||
# Move node_modules one directory up, so during development
|
# Move node_modules one directory up, so during development
|
||||||
|
@ -6,5 +6,5 @@
|
|||||||
"5": "Many small improvements & feature requests. Enjoy!",
|
"5": "Many small improvements & feature requests. Enjoy!",
|
||||||
"6": "Many small performance improvements & bug fixes. Enjoy!",
|
"6": "Many small performance improvements & bug fixes. Enjoy!",
|
||||||
"7": "Improved the look & performance of the upload/download chart.",
|
"7": "Improved the look & performance of the upload/download chart.",
|
||||||
"8": "Updated to Node.js v20."
|
"8": "Updated to Node.js v18."
|
||||||
}
|
}
|
4
src/package-lock.json
generated
4
src/package-lock.json
generated
@ -20,7 +20,7 @@
|
|||||||
"eslint-config-athom": "^2.1.0"
|
"eslint-config-athom": "^2.1.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "20"
|
"node": "18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@aashutoshrathi/word-wrap": {
|
"node_modules/@aashutoshrathi/word-wrap": {
|
||||||
@ -3774,4 +3774,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -23,6 +23,6 @@
|
|||||||
"eslint-config-athom": "^2.1.0"
|
"eslint-config-athom": "^2.1.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "20"
|
"node": "18"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user