Skip to content

Commit aa59c26

Browse files
Merge pull request #1079 from ChristianMurphy/chore/limit-test-time-on-ci
chore(ci): limit test time, use a clean install
2 parents 304f61d + 99c965b commit aa59c26

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
name: CI
22
on:
33
push:
4-
branches: [main]
4+
branches:
5+
- main
56
pull_request:
6-
branches: [main]
7+
branches:
8+
- main
79
jobs:
810
build-and-test:
911
name: '${{ matrix.platform }}: node.js ${{ matrix.node-version }}'
12+
timeout-minutes: 2
1013
strategy:
1114
matrix:
12-
platform: [ubuntu-latest, windows-latest, macos-latest]
15+
platform:
16+
- ubuntu-latest
17+
- windows-latest
18+
- macos-latest
1319
node-version:
1420
- 18
1521
- 20
@@ -20,5 +26,5 @@ jobs:
2026
- uses: actions/setup-node@v4
2127
with:
2228
node-version: ${{ matrix.node-version }}
23-
- run: npm install
29+
- run: npm ci
2430
- run: npm test

0 commit comments

Comments
 (0)