|
28 | 28 | key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
|
29 | 29 | restore-keys: |
|
30 | 30 | ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
|
| 31 | + - name: Install dependencies |
| 32 | + run: npm ci |
| 33 | + - name: CI Self-Check |
| 34 | + run: npm run ci:check |
31 | 35 | check-mongo:
|
32 | 36 | strategy:
|
33 | 37 | matrix:
|
|
58 | 62 | MONGODB_TOPOLOGY: standalone
|
59 | 63 | MONGODB_STORAGE_ENGINE: wiredTiger
|
60 | 64 | NODE_VERSION: 14.15.5
|
61 |
| - name: ${{ matrix.name }} |
62 |
| - timeout-minutes: 30 |
63 |
| - runs-on: ubuntu-18.04 |
64 |
| - services: |
65 |
| - redis: |
66 |
| - image: redis |
67 |
| - ports: |
68 |
| - - 6379:6379 |
69 |
| - env: |
70 |
| - MONGODB_VERSION: ${{ matrix.MONGODB_VERSION }} |
71 |
| - MONGODB_TOPOLOGY: ${{ matrix.MONGODB_TOPOLOGY }} |
72 |
| - MONGODB_STORAGE_ENGINE: ${{ matrix.MONGODB_STORAGE_ENGINE }} |
73 |
| - PARSE_SERVER_TEST_CACHE: ${{ matrix.PARSE_SERVER_TEST_CACHE }} |
74 |
| - NODE_VERSION: ${{ matrix.NODE_VERSION }} |
75 |
| - steps: |
76 |
| - - uses: actions/checkout@v2 |
77 |
| - - name: Use Node.js ${{ matrix.NODE_VERSION }} |
78 |
| - uses: actions/setup-node@v1 |
79 |
| - with: |
80 |
| - node-version: ${{ matrix.NODE_VERSION }} |
81 |
| - - name: Cache Node.js modules |
82 |
| - uses: actions/cache@v2 |
83 |
| - with: |
84 |
| - path: ~/.npm |
85 |
| - key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }} |
86 |
| - restore-keys: | |
87 |
| - ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}- |
88 |
| - - name: Install dependencies |
89 |
| - run: npm ci |
90 |
| - - if: ${{ matrix.name == 'Mongo 3.6.21' }} |
91 |
| - run: npm run lint |
92 |
| - - run: npm run pretest |
93 |
| - - run: npm run coverage |
94 |
| - env: |
95 |
| - CI: true |
96 |
| - - run: bash <(curl -s https://codecov.io/bash) |
97 |
| - check-node: |
98 |
| - strategy: |
99 |
| - matrix: |
100 |
| - include: |
101 | 65 | - name: Node 10
|
102 | 66 | MONGODB_VERSION: 4.4.4
|
103 | 67 | MONGODB_TOPOLOGY: standalone
|
@@ -164,7 +128,7 @@ jobs:
|
164 | 128 | - name: Postgres 13, Postgis 3.1
|
165 | 129 | POSTGRES_IMAGE: postgis/postgis:13-3.1
|
166 | 130 | name: ${{ matrix.name }}
|
167 |
| - timeout-minutes: 120 |
| 131 | + timeout-minutes: 30 |
168 | 132 | runs-on: ubuntu-18.04
|
169 | 133 | services:
|
170 | 134 | redis:
|
|
0 commit comments