chore(ci): skip postinstall scripts for some testing-only dependencies (#2442)
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -55,6 +55,9 @@ jobs:
|
||||
core:
|
||||
name: Build (Core)
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
REDISMS_DISABLE_POSTINSTALL: 1
|
||||
MONGOMS_DISABLE_POSTINSTALL: 1
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -10,6 +10,9 @@ jobs:
|
||||
build:
|
||||
name: Main Build
|
||||
runs-on: ubuntu-24.04
|
||||
env:
|
||||
REDISMS_DISABLE_POSTINSTALL: 1
|
||||
MONGOMS_DISABLE_POSTINSTALL: 1
|
||||
outputs:
|
||||
release_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
steps:
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
FROM node:22-alpine as builder
|
||||
ENV MONGOMS_DISABLE_POSTINSTALL=1
|
||||
ENV REDISMS_DISABLE_POSTINSTALL=1
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN apk add git make g++ alpine-sdk python3 py3-pip unzip
|
||||
|
||||
Reference in New Issue
Block a user