Fixed Usecase selected state for collaborative #695
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: Build Status | |
| on: | |
| push: | |
| branches: ['dev'] | |
| pull_request: | |
| branches: ['dev'] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| environment: development | |
| env: | |
| KEYCLOAK_CLIENT_ID: ${{secrets.KEYCLOAK_CLIENT_ID}} | |
| KEYCLOAK_CLIENT_SECRET: ${{secrets.KEYCLOAK_CLIENT_SECRET}} | |
| AUTH_ISSUER: ${{ secrets.AUTH_ISSUER }} | |
| NEXTAUTH_URL: ${{vars.NEXTAUTH_URL}} | |
| NEXT_PUBLIC_NEXTAUTH_URL: ${{ vars.NEXT_PUBLIC_NEXTAUTH_URL }} | |
| NEXTAUTH_SECRET: ${{secrets.NEXTAUTH_SECRET}} | |
| END_SESSION_URL: ${{ vars.END_SESSION_URL }} | |
| REFRESH_TOKEN_URL: ${{secrets.REFRESH_TOKEN_URL}} | |
| NEXT_PUBLIC_BACKEND_URL: ${{vars.NEXT_PUBLIC_BACKEND_URL}} | |
| BACKEND_GRAPHQL_URL: ${{vars.BACKEND_GRAPHQL_URL}} | |
| NEXT_PUBLIC_ENABLE_ACCESSMODEL: ${{vars.NEXT_PUBLIC_ENABLE_ACCESSMODEL}} | |
| NEXT_PUBLIC_BACKEND_GRAPHQL_URL: ${{vars.NEXT_PUBLIC_BACKEND_GRAPHQL_URL}} | |
| BACKEND_URL: ${{vars.BACKEND_URL}} | |
| NEXT_PUBLIC_PLATFORM_URL: ${{vars.NEXT_PUBLIC_PLATFORM_URL}} | |
| NEXT_PUBLIC_ANALYTICS_URL: ${{vars.NEXT_PUBLIC_ANALYTICS_URL}} | |
| strategy: | |
| matrix: | |
| node-version: [20.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci --force | |
| - name: Generate GraphQL types (CI-safe) | |
| run: npm run generate | |
| env: | |
| BACKEND_GRAPHQL_URL: ${{vars.BACKEND_GRAPHQL_URL}} | |
| - name: Build application | |
| run: npm run build --if-present |