build(ui): add --ignore-scripts for pnpm (#2065)
This commit is contained in:
@@ -37,7 +37,7 @@ jobs:
|
|||||||
node-version-file: .nvmrc
|
node-version-file: .nvmrc
|
||||||
|
|
||||||
- name: Install Frontend Dependencies
|
- name: Install Frontend Dependencies
|
||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile --ignore-scripts
|
||||||
|
|
||||||
- name: Typecheck Frontend
|
- name: Typecheck Frontend
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@ COPY package.json ./
|
|||||||
COPY frontend/package.json ./frontend/
|
COPY frontend/package.json ./frontend/
|
||||||
COPY tools/release/package.json ./tools/release/
|
COPY tools/release/package.json ./tools/release/
|
||||||
RUN --mount=type=cache,target=/pnpm/store \
|
RUN --mount=type=cache,target=/pnpm/store \
|
||||||
pnpm install --offline --frozen-lockfile
|
pnpm install --offline --frozen-lockfile --ignore-scripts
|
||||||
|
|
||||||
COPY frontend/ ./frontend/
|
COPY frontend/ ./frontend/
|
||||||
RUN --mount=type=cache,target=/workspace/frontend/.angular/cache \
|
RUN --mount=type=cache,target=/workspace/frontend/.angular/cache \
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ services:
|
|||||||
cd /workspace &&\
|
cd /workspace &&\
|
||||||
npm install -g pnpm@11.3.0 &&\
|
npm install -g pnpm@11.3.0 &&\
|
||||||
pnpm config set store-dir /workspace/node_modules/.pnpm-store &&\
|
pnpm config set store-dir /workspace/node_modules/.pnpm-store &&\
|
||||||
pnpm install --frozen-lockfile &&\
|
pnpm install --frozen-lockfile --ignore-scripts &&\
|
||||||
pnpm -C frontend exec ng serve --host 0.0.0.0 --watch --configuration development"
|
pnpm -C frontend exec ng serve --host 0.0.0.0 --watch --configuration development"
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=development
|
- NODE_ENV=development
|
||||||
|
|||||||
Reference in New Issue
Block a user