diff --git a/.github/workflows/end-to-end.yml b/.github/workflows/end-to-end.yml index e3e18c1e..ecedbc80 100644 --- a/.github/workflows/end-to-end.yml +++ b/.github/workflows/end-to-end.yml @@ -109,6 +109,7 @@ jobs: cache: "npm" node-version-file: package.json - run: npm ci --include=dev + - run: npm run build:workspaces - run: npm run migrate up - run: npm run fixtures:load-ci -- cypress/e2e/${{ matrix.e2e_test }}/fixtures.sql - run: npm run update-organization-info -- 500 diff --git a/.github/workflows/fixtures.yml b/.github/workflows/fixtures.yml index 4a10d4cd..a78154b1 100644 --- a/.github/workflows/fixtures.yml +++ b/.github/workflows/fixtures.yml @@ -38,6 +38,7 @@ jobs: cache: "npm" node-version-file: package.json - run: npm ci --omit=dev # omit dev dependencies to simulate deployed environment + - run: npm run build:workspaces - run: npm run migrate up - run: npm run fixtures:load-ci -- scripts/fixtures.sql - run: npm run update-organization-info -- 500 diff --git a/Dockerfile b/Dockerfile index 192efafe..db49b468 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,10 @@ FROM base AS build ENV CYPRESS_INSTALL_BINARY=0 RUN --mount=type=bind,source=package.json,target=package.json \ --mount=type=bind,source=package-lock.json,target=package-lock.json \ - --mount=type=bind,source=packages/email/package.json,target=packages/email/package.json \ --mount=type=bind,source=packages/core/package.json,target=packages/core/package.json \ + --mount=type=bind,source=packages/email/package.json,target=packages/email/package.json \ + --mount=type=bind,source=packages/identite/package.json,target=packages/identite/package.json \ + --mount=type=bind,source=packages/insee/package.json,target=packages/insee/package.json \ --mount=type=cache,target=/root/.npm \ npm ci COPY tsconfig.json vite.config.mjs ./ diff --git a/packages/core/package.json b/packages/core/package.json index c28a2a0f..e2f3fc77 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -45,6 +45,7 @@ "spec": "src/**/*.test.ts" }, "dependencies": { + "@types/lodash-es": "^4.17.12", "@zootools/email-spell-checker": "^1.12.0", "axios": "^1.7.7", "is-disposable-email-domain": "^1.0.7", @@ -54,7 +55,6 @@ }, "devDependencies": { "@tsconfig/node22": "^22.0.0", - "@types/lodash-es": "^4.17.12", "@types/mocha": "^10.0.10", "@types/node": "^22.10.2", "chai": "^5.1.2",