chore: synced file(s) with sumup/apis #2169
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| merge_group: | |
| pull_request: | |
| branches: [main] | |
| # Automatically cancel in-progress actions on the same branch | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| NODE_OPTIONS: "--max_old_space_size=4096" | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup Node | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 | |
| with: | |
| node-version-file: ".nvmrc" | |
| cache: npm | |
| - name: Run rumdl | |
| uses: rvben/rumdl@8e22c9b16f49c7209355106f731500cc1aacef20 # v0.1.62 | |
| with: | |
| version: 0.1.35 | |
| path: "." | |
| fail-on-error: true | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run Check | |
| run: npm run check | |
| - name: Run linter | |
| # npm run lint includes lint:markdown which is already handled bby the rumdl | |
| # step above | |
| run: npm run lint:src | |
| - name: Run linkcheck | |
| run: npm run linkcheck |