Skip to content

Commit 23c2a1a

Browse files
committed
feat: reduce disk usage
Signed-off-by: shanghaikid <jiangruiyi@gmail.com>
1 parent 1150faf commit 23c2a1a

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.github/workflows/master_aws.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
- uses: actions/checkout@v3
3131
with:
3232
ref: 'master'
33+
fetch-depth: 1
3334

3435
- name: Verify Nginx configuration
3536
uses: addnab/docker-run-action@v3
@@ -48,7 +49,7 @@ jobs:
4849
- name: Setup Node.js
4950
uses: actions/setup-node@v2
5051
with:
51-
node-version: '18'
52+
node-version: '22'
5253

5354
- name: update submodules
5455
run: |

.github/workflows/preview_aws.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
- uses: actions/checkout@v3
3131
with:
3232
ref: 'preview'
33+
fetch-depth: 1
3334

3435
- name: Verify Nginx configuration
3536
uses: addnab/docker-run-action@v3
@@ -48,7 +49,7 @@ jobs:
4849
- name: Setup Node.js
4950
uses: actions/setup-node@v2
5051
with:
51-
node-version: '18'
52+
node-version: '22'
5253

5354
- name: update submodules from preview branch
5455
run: |

Builder.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18 AS base
1+
FROM node:22-slim AS base
22
WORKDIR /app
33

44
RUN npm install -g pnpm

Preview.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18 AS base
1+
FROM node:22-slim AS base
22
WORKDIR /app
33

44
RUN npm install -g pnpm

0 commit comments

Comments
 (0)