Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
Loading