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:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
- 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
|
||||
ENV PNPM_HOME="/pnpm"
|
||||
@ -8,9 +8,9 @@ ENV PATH="$PNPM_HOME:$PATH"
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
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 install --shamefully-hoist
|
||||
RUN pnpm install --shamefully-hoist --config.build_from_source=sqlite3
|
||||
RUN pnpm build:p
|
||||
|
||||
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/
|
||||
ENV PNPM_HOME="/pnpm"
|
||||
|
@ -89,7 +89,8 @@
|
||||
},
|
||||
"pnpm": {
|
||||
"neverBuiltDependencies": [
|
||||
"canvas"
|
||||
"canvas",
|
||||
"sqlite3"
|
||||
],
|
||||
"overrides": {
|
||||
"@types/node": "20.14.2",
|
||||
|
@ -63,7 +63,7 @@
|
||||
"pg": "^8.7.3",
|
||||
"pg-hstore": "^2.3.4",
|
||||
"qs": "^6.11.2",
|
||||
"sqlite3": "^5.0.8",
|
||||
"sqlite3": "^5.1.7",
|
||||
"supertest": "^6.1.6",
|
||||
"vite": "^5.2.13",
|
||||
"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