|
54 | 54 | working-directory: apps/client |
55 | 55 | run: pnpm dlx license-checker --production --onlyAllow "MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;0BSD;ISC" |
56 | 56 |
|
57 | | - - name: Run license check (verifier-app, production) |
58 | | - working-directory: apps/verifier-app |
59 | | - run: pnpm dlx license-checker --production --onlyAllow "MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;0BSD;ISC" |
60 | | - |
61 | 57 | build-sdk-core: |
62 | 58 | name: Build SDK Core |
63 | 59 | permissions: |
@@ -139,38 +135,12 @@ jobs: |
139 | 135 | - name: Run linter |
140 | 136 | run: pnpm run lint |
141 | 137 |
|
| 138 | + - name: Build sdk core |
| 139 | + run: pnpm --filter @eudiplo/sdk-core build |
| 140 | + |
142 | 141 | - name: Build client |
143 | 142 | run: pnpm --filter @eudiplo/client build |
144 | 143 |
|
145 | | - build-verifier: |
146 | | - name: Build Verifier App |
147 | | - permissions: |
148 | | - contents: read |
149 | | - runs-on: ubuntu-latest |
150 | | - needs: [lint] |
151 | | - steps: |
152 | | - - uses: actions/checkout@v6 |
153 | | - |
154 | | - - uses: pnpm/action-setup@v4 |
155 | | - name: Install pnpm |
156 | | - with: |
157 | | - run_install: false |
158 | | - |
159 | | - - name: Install Node.js |
160 | | - uses: actions/setup-node@v6 |
161 | | - with: |
162 | | - node-version: 24 |
163 | | - cache: 'pnpm' |
164 | | - |
165 | | - - name: Install dependencies |
166 | | - run: pnpm install |
167 | | - |
168 | | - - name: Run linter |
169 | | - run: pnpm run lint |
170 | | - |
171 | | - - name: Build verifier |
172 | | - run: pnpm --filter verifier-app build |
173 | | - |
174 | 144 | build-webhook: |
175 | 145 | name: Build Webhook |
176 | 146 | permissions: |
@@ -248,7 +218,7 @@ jobs: |
248 | 218 | contents: read |
249 | 219 | name: E2E Tests |
250 | 220 | runs-on: ubuntu-latest |
251 | | - needs: [build-backend, build-client, build-verifier, build-webhook] |
| 221 | + needs: [build-backend, build-client, build-webhook] |
252 | 222 | steps: |
253 | 223 | - uses: actions/checkout@v6 |
254 | 224 |
|
@@ -446,37 +416,6 @@ jobs: |
446 | 416 | cache-from: type=gha |
447 | 417 | cache-to: type=gha,mode=max |
448 | 418 |
|
449 | | - docker-verifier: |
450 | | - name: Build & Push Verifier Docker Image |
451 | | - needs: [build-verifier] |
452 | | - runs-on: ubuntu-latest |
453 | | - permissions: |
454 | | - contents: read |
455 | | - packages: write |
456 | | - steps: |
457 | | - - uses: actions/checkout@v6 |
458 | | - |
459 | | - - name: Set up Docker Buildx |
460 | | - uses: docker/setup-buildx-action@v3 |
461 | | - |
462 | | - - name: Log in to GitHub Container Registry |
463 | | - if: github.ref == 'refs/heads/main' && github.event_name == 'push' |
464 | | - uses: docker/login-action@v3 |
465 | | - with: |
466 | | - registry: ghcr.io |
467 | | - username: ${{ github.actor }} |
468 | | - password: ${{ secrets.GITHUB_TOKEN }} |
469 | | - |
470 | | - - name: Build and push Verifier Docker image |
471 | | - uses: docker/build-push-action@v6 |
472 | | - with: |
473 | | - context: . |
474 | | - target: verifier |
475 | | - push: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} |
476 | | - tags: ghcr.io/openwallet-foundation-labs/eudiplo-verifier:main |
477 | | - cache-from: type=gha |
478 | | - cache-to: type=gha,mode=max |
479 | | - |
480 | 419 | # ============================================================================= |
481 | 420 | # NPM Pre-release (Main Branch Only) |
482 | 421 | # Publishes @eudiplo/sdk-core with a "main" tag as a pre-release version. |
@@ -532,7 +471,7 @@ jobs: |
532 | 471 | release: |
533 | 472 | name: Create Versioned Release |
534 | 473 | if: github.event_name == 'workflow_dispatch' && inputs.release == true |
535 | | - needs: [test-e2e, docker-backend, docker-client, docker-verifier] |
| 474 | + needs: [test-e2e, docker-backend, docker-client] |
536 | 475 | runs-on: ubuntu-latest |
537 | 476 | permissions: |
538 | 477 | contents: write |
|
0 commit comments