fix: add checkout phase (#1464)
Co-authored-by: sealday <sealday@gmail.com> Reviewed-on: daoyoucloud/tachybase#1464
This commit is contained in:
parent
0dbc64b169
commit
7850cb3324
@ -9,6 +9,8 @@ jobs:
|
|||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM git.daoyoucloud.com/tachybase/base:latest as base
|
FROM git.daoyoucloud.com/tachybase/base:latest AS base
|
||||||
|
|
||||||
ARG NPM_REGISTRY=https://registry.npmjs.org
|
ARG NPM_REGISTRY=https://registry.npmjs.org
|
||||||
ENV PNPM_HOME="/pnpm"
|
ENV PNPM_HOME="/pnpm"
|
||||||
@ -8,9 +8,9 @@ ENV PATH="$PNPM_HOME:$PATH"
|
|||||||
COPY . /app
|
COPY . /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN npm config set registry $NPM_REGISTRY
|
RUN npm config set registry $NPM_REGISTRY
|
||||||
RUN npm i -g pnpm@8.15.5
|
RUN npm i -g pnpm@9.7.0
|
||||||
RUN pnpm config set registry $NPM_REGISTRY
|
RUN pnpm config set registry $NPM_REGISTRY
|
||||||
RUN pnpm install --shamefully-hoist
|
RUN pnpm install --shamefully-hoist --config.build_from_source=sqlite3
|
||||||
RUN pnpm build:p
|
RUN pnpm build:p
|
||||||
|
|
||||||
COPY ./docker/tachybase/docker-entrypoint.sh /app/
|
COPY ./docker/tachybase/docker-entrypoint.sh /app/
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM node:20.16.0 as base
|
FROM docker.1tops.org/node:20.16.0 AS base
|
||||||
|
|
||||||
ARG NPM_REGISTRY=https://registry.npmjs.org/
|
ARG NPM_REGISTRY=https://registry.npmjs.org/
|
||||||
ENV PNPM_HOME="/pnpm"
|
ENV PNPM_HOME="/pnpm"
|
||||||
|
@ -89,7 +89,8 @@
|
|||||||
},
|
},
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
"neverBuiltDependencies": [
|
"neverBuiltDependencies": [
|
||||||
"canvas"
|
"canvas",
|
||||||
|
"sqlite3"
|
||||||
],
|
],
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"@types/node": "20.14.2",
|
"@types/node": "20.14.2",
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
"pg": "^8.7.3",
|
"pg": "^8.7.3",
|
||||||
"pg-hstore": "^2.3.4",
|
"pg-hstore": "^2.3.4",
|
||||||
"qs": "^6.11.2",
|
"qs": "^6.11.2",
|
||||||
"sqlite3": "^5.0.8",
|
"sqlite3": "^5.1.7",
|
||||||
"supertest": "^6.1.6",
|
"supertest": "^6.1.6",
|
||||||
"vite": "^5.2.13",
|
"vite": "^5.2.13",
|
||||||
"vitest": "^1.4.0",
|
"vitest": "^1.4.0",
|
||||||
|
3360
pnpm-lock.yaml
3360
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user