diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 735fc716..ca0a2540 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -43,5 +43,11 @@ jobs: - name: Frontend lint working-directory: app run: pnpm lint + - name: Frontend build + working-directory: app + run: pnpm build + env: + APP_NAME: quack + APP_VERSION: ${{ github.sha }} - run: deno task migrate:tests - run: deno task check diff --git a/Dockerfile b/Dockerfile index 08202e91..689c11c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM node:22.12-alpine AS build +FROM node:22-alpine AS build RUN mkdir -p /app WORKDIR /app COPY . . WORKDIR /app/app -RUN corepack enable && npm i -g sfw -RUN sfw pnpm install --frozen-lockfile +RUN npm i -g pnpm@11.5.3 +RUN pnpm install --frozen-lockfile ENV APP_NAME=quack ARG APP_VERSION=3.x.x ENV APP_VERSION=$APP_VERSION diff --git a/app/vite.config.ts b/app/vite.config.ts index ef15fe3b..4956680c 100644 --- a/app/vite.config.ts +++ b/app/vite.config.ts @@ -36,6 +36,10 @@ export default defineConfig(({ command }) => ({ "@quack/encryption": path.resolve(__dirname, "../deno/encryption/mod.ts"), "@quack/api": path.resolve(__dirname, "../deno/api/mod.ts"), "@quack/tools": path.resolve(__dirname, "../deno/tools/mod.ts"), + "@jsr/planigale__sse": path.resolve( + __dirname, + "node_modules/@jsr/planigale__sse", + ), }, }, plugins: [