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:
|
core:
|
||||||
name: Build (Core)
|
name: Build (Core)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
REDISMS_DISABLE_POSTINSTALL: 1
|
||||||
|
MONGOMS_DISABLE_POSTINSTALL: 1
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -10,6 +10,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
name: Main Build
|
name: Main Build
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
env:
|
||||||
|
REDISMS_DISABLE_POSTINSTALL: 1
|
||||||
|
MONGOMS_DISABLE_POSTINSTALL: 1
|
||||||
outputs:
|
outputs:
|
||||||
release_url: ${{ steps.create_release.outputs.upload_url }}
|
release_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
FROM node:22-alpine as builder
|
FROM node:22-alpine as builder
|
||||||
|
ENV MONGOMS_DISABLE_POSTINSTALL=1
|
||||||
|
ENV REDISMS_DISABLE_POSTINSTALL=1
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN apk add git make g++ alpine-sdk python3 py3-pip unzip
|
RUN apk add git make g++ alpine-sdk python3 py3-pip unzip
|
||||||
|
|||||||
Reference in New Issue
Block a user