From 58141cd5b6b2c509571d454c8ebfd0c472da15fa Mon Sep 17 00:00:00 2001 From: Robbert Broersma Date: Tue, 31 Dec 2024 19:39:43 +0100 Subject: [PATCH] build: publish Apache Wicket stories in Storybook --- .github/workflows/continuous-deployment.yml | 9 +++++++++ package.json | 5 +++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-deployment.yml b/.github/workflows/continuous-deployment.yml index 805010b0..6be61af4 100644 --- a/.github/workflows/continuous-deployment.yml +++ b/.github/workflows/continuous-deployment.yml @@ -68,9 +68,18 @@ jobs: node-version-file: .nvmrc cache: pnpm + - name: Setup Java version + uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 + with: + distribution: temurin + java-version: 21 + - name: Install dependencies run: pnpm install --frozen-lockfile + - name: Maven build + run: pnpm run wicket:install-and-build + - name: "Continuous Integration: build" env: BASE_URL: "/rotterdam/" diff --git a/package.json b/package.json index 96047c23..0be09dea 100644 --- a/package.json +++ b/package.json @@ -78,9 +78,10 @@ "update-major": "npm-check-updates --configFileName .ncurc.major.cjs", "watch:storybook": "pnpm --filter @gemeente-rotterdam/storybook run storybook", "watch:style-dictionary": "pnpm --filter @gemeente-rotterdam/design-tokens run watch", - "wicket:build": "mvn --offline clean install", + "wicket:build": "mvn --no-transfer-progress --offline clean install", + "wicket:install-and-build": "mvn --no-transfer-progress clean install", "wicket:clean": "mvn clean", - "wicket:install": "mvn dependency:go-offline", + "wicket:install": "mvn --no-transfer-progress dependency:go-offline", "wicket:dev": "mvn exec:java -pl :docs-wicket" }, "dependencies": {