From ea4d4ffd91729f4f4ee07270573548bc0a235aa2 Mon Sep 17 00:00:00 2001 From: DarkSky Date: Thu, 4 Aug 2022 16:26:23 +0800 Subject: [PATCH] fix: ci --- .github/deployment/Dockerfile-affine | 2 +- .github/deployment/Dockerfile-keck | 2 +- .github/deployment/Dockerfile-lisa | 2 +- .github/deployment/Dockerfile-venus | 2 +- .github/workflows/keck.yml | 2 ++ .github/workflows/venus.yml | 1 + 6 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/deployment/Dockerfile-affine b/.github/deployment/Dockerfile-affine index 3aa0b91d59..cf61886807 100644 --- a/.github/deployment/Dockerfile-affine +++ b/.github/deployment/Dockerfile-affine @@ -1,7 +1,7 @@ FROM node:16-alpine as builder WORKDIR /app COPY . . -RUN apk add g++ make python3 git zlib +RUN apk add g++ make python3 git libpng-dev RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-store && pnpm run build:local FROM node:16-alpine as relocate diff --git a/.github/deployment/Dockerfile-keck b/.github/deployment/Dockerfile-keck index 6b2f9e0652..7918e49427 100644 --- a/.github/deployment/Dockerfile-keck +++ b/.github/deployment/Dockerfile-keck @@ -1,7 +1,7 @@ FROM node:16-alpine as builder WORKDIR /app COPY . . -RUN apk add g++ make python3 git zlib +RUN apk add g++ make python3 git libpng-dev RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-store && pnpm run build:keck FROM node:16-alpine as node_modules diff --git a/.github/deployment/Dockerfile-lisa b/.github/deployment/Dockerfile-lisa index d9f031afd9..413cb625fa 100644 --- a/.github/deployment/Dockerfile-lisa +++ b/.github/deployment/Dockerfile-lisa @@ -1,7 +1,7 @@ FROM node:16-alpine as builder WORKDIR /app COPY . . -RUN apk add g++ make python3 git zlib +RUN apk add g++ make python3 git libpng-dev RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-store && pnpm run build FROM node:16-alpine as relocate diff --git a/.github/deployment/Dockerfile-venus b/.github/deployment/Dockerfile-venus index 184a6d1390..585ade8a20 100644 --- a/.github/deployment/Dockerfile-venus +++ b/.github/deployment/Dockerfile-venus @@ -1,7 +1,7 @@ FROM node:16-alpine as builder WORKDIR /app COPY . . -RUN apk add g++ make python3 git zlib +RUN apk add g++ make python3 git libpng-dev RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-store && pnpm run build:venus FROM node:16-alpine as relocate diff --git a/.github/workflows/keck.yml b/.github/workflows/keck.yml index 66a5f69d28..a09d790455 100644 --- a/.github/workflows/keck.yml +++ b/.github/workflows/keck.yml @@ -6,11 +6,13 @@ on: branches: [master] paths: - 'apps/keck/**' + - '.github/deployment' - '.github/workflows/keck.yml' pull_request: branches: [master] paths: - 'apps/keck/**' + - '.github/deployment' - '.github/workflows/keck.yml' # Cancels all previous workflow runs for pull requests that have not completed. diff --git a/.github/workflows/venus.yml b/.github/workflows/venus.yml index 0e084b1259..8b8841404c 100644 --- a/.github/workflows/venus.yml +++ b/.github/workflows/venus.yml @@ -5,6 +5,7 @@ on: branches: [master] paths: - 'apps/venus/**' + - '.github/deployment' - '.github/workflows/venus.yml' pull_request: branches: [master]