Update docker file to fix build issue (#195)
Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
@@ -10,7 +10,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [18.x, 20.x]
|
||||
node-version: [20.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
@@ -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
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user