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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

steps:
- uses: actions/checkout@v4
Expand Down
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
# Dockerfile to run e2e integration tests against a test PocketBase server
FROM node:lts-alpine
FROM node:20-alpine

ARG POCKETBASE_VERSION=0.31.0

WORKDIR /app/

# Install the dependencies
RUN apk add --no-cache \
bash \
ca-certificates \
curl \
gcompat \
unzip \
wget \
zip \
zlib-dev

# Install Bun
RUN curl -fsSL https://bun.sh/install | bash
ENV PATH="/root/.bun/bin:${PATH}"

# Build project
COPY . .
RUN npm ci
Expand Down
3 changes: 2 additions & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ esbuild
treeShaking: true,
platform: "node",
format: "esm",
target: "node14",
target: "node18",
external: ["bun:sqlite"],
plugins: [nodeExternalsPlugin()],
})
.catch(() => process.exit(1))
Loading
Loading