Skip to content

Commit 03a1a70

Browse files
committed
ci: add npm cache and serialize matrix to reduce 429 errors
1 parent 447b976 commit 03a1a70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
node-version: [20.x, 22.x]
16+
max-parallel: 1
1617

1718
services:
1819
postgres:
@@ -46,6 +47,7 @@ jobs:
4647
uses: actions/setup-node@v4
4748
with:
4849
node-version: ${{ matrix.node-version }}
50+
cache: npm
4951
- run: npm ci
5052
- run: npm run format:ci
5153
- run: npm run lint

0 commit comments

Comments
 (0)