EPMDEDP-17074: docs: Remove KrakenD from 3-13 and higher #780
Workflow file for this run
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: Test | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, closed] | |
| branches: | |
| - main | |
| jobs: | |
| check-commit-message: | |
| if: github.event.action != 'closed' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check Commit Format | |
| uses: gsactions/commit-message-checker@v2 | |
| with: | |
| pattern: '^(EPMDEDP-\d+: (fix|feat|docs|style|refactor|test|chore)(!)?: .+|(chore|build)\(deps\): Bump .+)$' | |
| error: 'Your commit message should be in the format "EPMDEDP-ID: type: Description". Example: "EPMDEDP-16058: feat: add feature"' | |
| excludeDescription: 'true' | |
| excludeTitle: 'true' | |
| checkAllCommitMessages: 'true' | |
| accessToken: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Check Line Length | |
| uses: gsactions/commit-message-checker@v2 | |
| with: | |
| pattern: '^.{10,85}$' | |
| error: 'The maximum line length of 85 characters is exceeded.' | |
| excludeDescription: 'true' | |
| excludeTitle: 'true' | |
| checkAllCommitMessages: 'true' | |
| accessToken: ${{ secrets.GITHUB_TOKEN }} | |
| test-and-deploy-preview: | |
| name: Test and Deploy PR Preview | |
| if: github.event.action != 'closed' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| lfs: false | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Test build website | |
| run: npm run build | |
| - name: Run spellcheck | |
| run: npm run spell-check | |
| - name: Run tsc | |
| run: npm run typecheck | |
| - name: Copy Azure config | |
| run: cp staticwebapp.config.json build/staticwebapp.config.json | |
| - name: Install and build API 🔧 | |
| run: | | |
| cd api | |
| npm ci | |
| npm run build | |
| npm prune --production | |
| - name: Deploy App | |
| id: builddeploy | |
| uses: Azure/static-web-apps-deploy@v1 | |
| with: | |
| azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GENTLE_PEBBLE_0839AF61E }} | |
| repo_token: ${{ secrets.GITHUB_TOKEN }} | |
| action: "upload" | |
| skip_app_build: true | |
| skip_api_build: true | |
| app_location: "/build" | |
| api_location: "/api" | |
| skip_deploy_on_missing_secrets: true | |
| close-preview: | |
| name: Close PR Preview | |
| if: github.event.action == 'closed' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Close Pull Request | |
| id: closepullrequest | |
| uses: Azure/static-web-apps-deploy@v1 | |
| with: | |
| azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GENTLE_PEBBLE_0839AF61E }} | |
| action: "close" | |
| skip_deploy_on_missing_secrets: true |