Skip to content

Commit a504267

Browse files
committed
Improve CI config
1 parent 94972fb commit a504267

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,15 @@ on:
1111
schedule:
1212
- cron: '0 6 * * 0' # weekly, on sundays
1313

14+
concurrency:
15+
group: ${{ github.head_ref || github.run_id }}
16+
cancel-in-progress: true
17+
1418
jobs:
1519
test:
1620
name: "Node ${{ matrix.node }} / TS: ${{ matrix.typescript }} - ${{ matrix.os }}"
1721
runs-on: "${{ matrix.os }}-latest"
22+
timeout-minutes: 15
1823

1924
strategy:
2025
fail-fast: false
@@ -48,7 +53,9 @@ jobs:
4853
${{ runner.os }}-${{ matrix.node }}-
4954
- name: install dependencies
5055
run: yarn --frozen-lockfile
51-
- run: git submodule update --init
56+
- run: |
57+
git submodule init
58+
git submodule update --depth 1
5259
- name: Switch to alternate TS
5360
if: matrix.typescript != 'default'
5461
run: |

0 commit comments

Comments
 (0)