Skip to content

Commit 46269ff

Browse files
committed
update workflow
1 parent c79a32d commit 46269ff

File tree

1 file changed

+47
-47
lines changed

1 file changed

+47
-47
lines changed

.github/workflows/ci.yml

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ on:
55
- master
66
pull_request:
77
branches:
8-
- '**'
8+
- "**"
99
env:
10-
NODE_VERSION: 14.16.1
10+
NODE_VERSION: 14.17.0
1111
PARSE_SERVER_TEST_TIMEOUT: 20000
1212
jobs:
1313
check-ci:
@@ -32,45 +32,45 @@ jobs:
3232
- name: CI Self-Check
3333
run: npm run ci:check
3434
check-lint:
35-
name: Lint
36-
timeout-minutes: 15
37-
runs-on: ubuntu-18.04
38-
steps:
39-
- uses: actions/checkout@v2
40-
- name: Use Node.js ${{ matrix.NODE_VERSION }}
41-
uses: actions/setup-node@v1
42-
with:
43-
node-version: ${{ matrix.node-version }}
44-
- name: Cache Node.js modules
45-
uses: actions/cache@v2
46-
with:
47-
path: ~/.npm
48-
key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
49-
restore-keys: |
50-
${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
51-
- name: Install dependencies
52-
run: npm ci
53-
- run: npm run lint
35+
name: Lint
36+
timeout-minutes: 15
37+
runs-on: ubuntu-18.04
38+
steps:
39+
- uses: actions/checkout@v2
40+
- name: Use Node.js ${{ matrix.NODE_VERSION }}
41+
uses: actions/setup-node@v1
42+
with:
43+
node-version: ${{ matrix.node-version }}
44+
- name: Cache Node.js modules
45+
uses: actions/cache@v2
46+
with:
47+
path: ~/.npm
48+
key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
49+
restore-keys: |
50+
${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
51+
- name: Install dependencies
52+
run: npm ci
53+
- run: npm run lint
5454
check-circular:
55-
name: Circular Dependencies
56-
timeout-minutes: 5
57-
runs-on: ubuntu-18.04
58-
steps:
59-
- uses: actions/checkout@v2
60-
- name: Use Node.js ${{ matrix.NODE_VERSION }}
61-
uses: actions/setup-node@v1
62-
with:
63-
node-version: ${{ matrix.node-version }}
64-
- name: Cache Node.js modules
65-
uses: actions/cache@v2
66-
with:
67-
path: ~/.npm
68-
key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
69-
restore-keys: |
70-
${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
71-
- name: Install dependencies
72-
run: npm ci
73-
- run: npm run madge:circular
55+
name: Circular Dependencies
56+
timeout-minutes: 5
57+
runs-on: ubuntu-18.04
58+
steps:
59+
- uses: actions/checkout@v2
60+
- name: Use Node.js ${{ matrix.NODE_VERSION }}
61+
uses: actions/setup-node@v1
62+
with:
63+
node-version: ${{ matrix.node-version }}
64+
- name: Cache Node.js modules
65+
uses: actions/cache@v2
66+
with:
67+
path: ~/.npm
68+
key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
69+
restore-keys: |
70+
${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
71+
- name: Install dependencies
72+
run: npm ci
73+
- run: npm run madge:circular
7474
check-docker:
7575
name: Docker Build
7676
timeout-minutes: 5
@@ -94,12 +94,12 @@ jobs:
9494
matrix:
9595
include:
9696
- name: MongoDB 4.4, ReplicaSet, WiredTiger
97-
MONGODB_VERSION: 4.4.4
97+
MONGODB_VERSION: 4.4.6
9898
MONGODB_TOPOLOGY: replicaset
9999
MONGODB_STORAGE_ENGINE: wiredTiger
100100
NODE_VERSION: 14.16.1
101101
- name: MongoDB 4.2, ReplicaSet, WiredTiger
102-
MONGODB_VERSION: 4.2.13
102+
MONGODB_VERSION: 4.2.14
103103
MONGODB_TOPOLOGY: replicaset
104104
MONGODB_STORAGE_ENGINE: wiredTiger
105105
NODE_VERSION: 14.16.1
@@ -115,17 +115,17 @@ jobs:
115115
NODE_VERSION: 14.16.1
116116
- name: Redis Cache
117117
PARSE_SERVER_TEST_CACHE: redis
118-
MONGODB_VERSION: 4.4.4
118+
MONGODB_VERSION: 4.4.6
119119
MONGODB_TOPOLOGY: standalone
120120
MONGODB_STORAGE_ENGINE: wiredTiger
121121
NODE_VERSION: 14.16.1
122122
- name: Node 12
123-
MONGODB_VERSION: 4.4.4
123+
MONGODB_VERSION: 4.4.6
124124
MONGODB_TOPOLOGY: standalone
125125
MONGODB_STORAGE_ENGINE: wiredTiger
126126
NODE_VERSION: 12.22.1
127127
- name: Node 15
128-
MONGODB_VERSION: 4.4.4
128+
MONGODB_VERSION: 4.4.6
129129
MONGODB_TOPOLOGY: standalone
130130
MONGODB_STORAGE_ENGINE: wiredTiger
131131
NODE_VERSION: 15.14.0
@@ -137,8 +137,8 @@ jobs:
137137
redis:
138138
image: redis
139139
ports:
140-
- 6379:6379
141-
env:
140+
- 6379:6379
141+
env:
142142
MONGODB_VERSION: ${{ matrix.MONGODB_VERSION }}
143143
MONGODB_TOPOLOGY: ${{ matrix.MONGODB_TOPOLOGY }}
144144
MONGODB_STORAGE_ENGINE: ${{ matrix.MONGODB_STORAGE_ENGINE }}

0 commit comments

Comments
 (0)