SSP-25851 Add example script for fetch with custom timeout #19
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: Quality Check | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| ## Cancel the previous run if a new one is triggered for the current branch | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| prettier: | |
| name: Check with Prettier | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| - name: Run Prettier | |
| run: npx prettier --check './**/*.ts' |