diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index a2032747..fee35c92 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -10,7 +10,7 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x] + node-version: [20.x] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index ccbd2bd1..425cd3b0 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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: diff --git a/Dockerfile b/Dockerfile index 667acda8..c414ddac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/change/@acedatacloud-nexior-7a934cb6-a6ba-4196-bc0b-ac41623f0f85.json b/change/@acedatacloud-nexior-7a934cb6-a6ba-4196-bc0b-ac41623f0f85.json new file mode 100644 index 00000000..89ef5b10 --- /dev/null +++ b/change/@acedatacloud-nexior-7a934cb6-a6ba-4196-bc0b-ac41623f0f85.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix docker build", + "packageName": "@acedatacloud/nexior", + "email": "office@acedata.cloud", + "dependentChangeType": "patch" +}