mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
enforce check-install-scripts in ci workflows
This commit is contained in:
parent
b3bfdd8c26
commit
aab2a93767
5 changed files with 9 additions and 9 deletions
2
.github/workflows/backend-integration.yml
vendored
2
.github/workflows/backend-integration.yml
vendored
|
|
@ -69,7 +69,7 @@ jobs:
|
|||
toolchain: ${{ steps.gettoolchain.outputs.toolchain }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: bash meta/scripts/check-install-scripts.sh && npm ci
|
||||
working-directory: ${{ matrix.node }}/integration/backend
|
||||
|
||||
- name: Build backend
|
||||
|
|
|
|||
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -75,12 +75,12 @@ jobs:
|
|||
|
||||
- name: Install
|
||||
if: ${{ matrix.flavor == 'dev'}}
|
||||
run: npm ci
|
||||
run: bash meta/scripts/check-install-scripts.sh && npm ci
|
||||
working-directory: ${{ matrix.node }}/${{ matrix.flavor }}/backend
|
||||
|
||||
- name: Install (Prod dependencies only)
|
||||
if: ${{ matrix.flavor == 'prod'}}
|
||||
run: npm ci --omit=dev --omit=optional
|
||||
run: bash meta/scripts/check-install-scripts.sh && npm ci --omit=dev --omit=optional
|
||||
working-directory: ${{ matrix.node }}/${{ matrix.flavor }}/backend
|
||||
|
||||
- name: Lint
|
||||
|
|
@ -131,7 +131,7 @@ jobs:
|
|||
${{ runner.os }}-cache-frontend-
|
||||
|
||||
- name: Install (Prod dependencies only)
|
||||
run: npm ci --omit=dev --omit=optional
|
||||
run: bash meta/scripts/check-install-scripts.sh && npm ci --omit=dev --omit=optional
|
||||
working-directory: assets/frontend
|
||||
|
||||
- name: Restore cached mining pool assets
|
||||
|
|
@ -244,13 +244,13 @@ jobs:
|
|||
${{ runner.os }}-frontend-${{ matrix.flavor }}-
|
||||
|
||||
- name: Install (Prod dependencies only)
|
||||
run: npm ci --omit=dev --omit=optional
|
||||
run: bash meta/scripts/check-install-scripts.sh && npm ci --omit=dev --omit=optional
|
||||
if: ${{ matrix.flavor == 'prod'}}
|
||||
working-directory: ${{ matrix.node }}/${{ matrix.flavor }}/frontend
|
||||
|
||||
- name: Install
|
||||
if: ${{ matrix.flavor == 'dev'}}
|
||||
run: npm ci
|
||||
run: bash meta/scripts/check-install-scripts.sh && npm ci
|
||||
working-directory: ${{ matrix.node }}/${{ matrix.flavor }}/frontend
|
||||
|
||||
- name: Lint
|
||||
|
|
|
|||
2
.github/workflows/e2e_parameterized.yml
vendored
2
.github/workflows/e2e_parameterized.yml
vendored
|
|
@ -50,7 +50,7 @@ jobs:
|
|||
registry-url: "https://registry.npmjs.org"
|
||||
|
||||
- name: Install (Prod dependencies only)
|
||||
run: npm ci --omit=dev --omit=optional
|
||||
run: bash meta/scripts/check-install-scripts.sh && npm ci --omit=dev --omit=optional
|
||||
working-directory: assets/frontend
|
||||
|
||||
- name: Restore cached mining pool assets
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ ENV PATH="/usr/local/cargo/bin:$PATH"
|
|||
COPY --from=backend . .
|
||||
COPY --from=rustgbt . ../rust/
|
||||
ENV FD=/build/rust-gbt
|
||||
RUN npm install --omit=dev --omit=optional
|
||||
RUN bash meta/scripts/check-install-scripts.sh && npm ci --omit=dev --omit=optional
|
||||
|
||||
WORKDIR /build
|
||||
RUN npm run package
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ COPY . .
|
|||
RUN apt-get update
|
||||
RUN apt-get install -y build-essential rsync
|
||||
RUN cp mempool-frontend-config.sample.json mempool-frontend-config.json
|
||||
RUN npm install --omit=dev --omit=optional
|
||||
RUN bash meta/scripts/check-install-scripts.sh && npm ci --omit=dev --omit=optional
|
||||
|
||||
RUN npm run build
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue