Skip to content

Commit d49e4d4

Browse files
committed
revert ci
1 parent 2c8cf56 commit d49e4d4

File tree

2 files changed

+6
-42
lines changed

2 files changed

+6
-42
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
2929
restore-keys: |
3030
${{ 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
3135
check-mongo:
3236
strategy:
3337
matrix:
@@ -58,46 +62,6 @@ jobs:
5862
MONGODB_TOPOLOGY: standalone
5963
MONGODB_STORAGE_ENGINE: wiredTiger
6064
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:
10165
- name: Node 10
10266
MONGODB_VERSION: 4.4.4
10367
MONGODB_TOPOLOGY: standalone
@@ -164,7 +128,7 @@ jobs:
164128
- name: Postgres 13, Postgis 3.1
165129
POSTGRES_IMAGE: postgis/postgis:13-3.1
166130
name: ${{ matrix.name }}
167-
timeout-minutes: 120
131+
timeout-minutes: 30
168132
runs-on: ubuntu-18.04
169133
services:
170134
redis:

spec/Parse.Push.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ describe('Parse.Push', () => {
373373
return new Promise(resolve => {
374374
setTimeout(() => {
375375
resolve();
376-
}, 3000);
376+
}, 1000);
377377
});
378378
})
379379
.then(() => {

0 commit comments

Comments
 (0)