Update docker file to fix build issue (#195)

Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
Germey
2025-03-02 20:18:14 +08:00
committed by GitHub
co-authored by AceDataCloud
parent 75eddba8e2
commit f984190d70
4 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v3
+2 -2
View File
@@ -19,7 +19,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
node-version: '20'
- name: Install dependencies
run: yarn install
@@ -38,7 +38,7 @@ jobs:
git config --global user.name 'GitHub Actions'
git config --global user.email 'actions@github.com'
git remote set-url origin "https://${{ secrets.REPO_PAT }}@github.com/AceDataCloud/Nexior"
- name: Publish
run: yarn release
env:
+1 -1
View File
@@ -1,5 +1,5 @@
# build stage
FROM node:18 as build-stage
FROM node:20 as build-stage
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix docker build",
"packageName": "@acedatacloud/nexior",
"email": "office@acedata.cloud",
"dependentChangeType": "patch"
}