diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..4f7a56c --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +node_modules +packages/**/node_modules diff --git a/Dockerfile.test b/Dockerfile.test index df96508..83f44b4 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -6,13 +6,18 @@ ENV CI=true WORKDIR /app -COPY pnpm-lock.yaml pnpm-workspace.yaml package.json ./ -COPY packages/luna-charts/package.json ./packages/luna-charts/ - -RUN pnpm install --frozen-lockfile - COPY . . +RUN rm -rf node_modules packages/**/node_modules + +RUN rm -f pnpm-lock.yaml + +ENV PNPM_CONFIG_SUPPORTED_ARCHITECTURES="current,linux-x64-gnu" + +RUN pnpm install + WORKDIR /app/packages/luna-charts -CMD ["pnpm", "test:browser"] \ No newline at end of file +RUN pnpm add -D @rolldown/binding-linux-x64-gnu + +CMD ["pnpm", "test:browser"] diff --git a/package.json b/package.json index d643a4a..b54396c 100644 --- a/package.json +++ b/package.json @@ -33,4 +33,4 @@ "eslint": "^10.6.0", "prettier": "^3.9.4" } -} \ No newline at end of file +} diff --git a/packages/luna-charts/package.json b/packages/luna-charts/package.json index f5e04af..017f261 100644 --- a/packages/luna-charts/package.json +++ b/packages/luna-charts/package.json @@ -45,14 +45,14 @@ "@stencil/core": "^4.43.5", "@stencil/storybook-plugin": "^0.7.0", "@stencil/vitest": "^1.8.3", + "@storybook/addon-docs": "^10.5.0", "@storybook/addon-links": "^10.5.0", "@types/node": "^22.13.5", "@vitest/browser-playwright": "^4.0.0", - "playwright": "^1.52.0", - "storybook": "^10.5.0", - "vitest": "^4.0.0", "eslint-plugin-storybook": "10.5.0", - "@storybook/addon-docs": "^10.5.0" + "playwright": "^1.61.1", + "storybook": "^10.5.0", + "vitest": "^4.0.0" }, "license": "MIT" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 01f4bb9..bf3b1fe 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -244,7 +244,7 @@ importers: specifier: 10.5.0 version: 10.5.0(eslint@10.6.0(jiti@2.7.0))(storybook@10.5.0(@types/react@19.2.17)(prettier@3.9.4)(react@19.2.7))(typescript@5.9.3) playwright: - specifier: ^1.52.0 + specifier: ^1.61.1 version: 1.61.1 storybook: specifier: ^10.5.0