feat: establish reusable CoreLink Identity theme foundation #22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Identity CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-theme: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Typecheck and build | |
| run: npm run check | |
| - name: Build Keycloak theme | |
| run: npm run build:keycloak | |
| - name: Upload theme JAR | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: corelink-keycloak-theme | |
| path: dist_keycloak/*.jar | |
| if-no-files-found: error |