|
7 | 7 | branches: |
8 | 8 | - '**' |
9 | 9 | env: |
10 | | - COVERAGE_OPTION: ./node_modules/.bin/nyc |
11 | | - NODE_VERSION: 10 |
| 10 | + NODE_VERSION: 14.16.1 |
12 | 11 | PARSE_SERVER_TEST_TIMEOUT: 20000 |
13 | 12 | jobs: |
14 | 13 | check-ci: |
@@ -52,51 +51,84 @@ jobs: |
52 | 51 | - name: Install dependencies |
53 | 52 | run: npm ci |
54 | 53 | - run: npm run lint |
| 54 | + 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 |
| 74 | + check-docker: |
| 75 | + name: Docker Build |
| 76 | + timeout-minutes: 5 |
| 77 | + runs-on: ubuntu-18.04 |
| 78 | + steps: |
| 79 | + - uses: actions/checkout@v2 |
| 80 | + - name: Build docker image |
| 81 | + uses: docker/build-push-action@v2 |
| 82 | + check-lock-file-version: |
| 83 | + name: NPM Lock File Version |
| 84 | + timeout-minutes: 5 |
| 85 | + runs-on: ubuntu-18.04 |
| 86 | + steps: |
| 87 | + - uses: actions/checkout@v2 |
| 88 | + - name: Check NPM lock file version |
| 89 | + uses: mansona/npm-lockfile-version@v1 |
| 90 | + with: |
| 91 | + version: 1 |
55 | 92 | check-mongo: |
56 | 93 | strategy: |
57 | 94 | matrix: |
58 | 95 | include: |
59 | | - - name: Mongo 4.4, ReplicaSet, WiredTiger |
| 96 | + - name: MongoDB 4.4, ReplicaSet, WiredTiger |
60 | 97 | MONGODB_VERSION: 4.4.4 |
61 | 98 | MONGODB_TOPOLOGY: replicaset |
62 | 99 | MONGODB_STORAGE_ENGINE: wiredTiger |
63 | | - NODE_VERSION: 14.16.0 |
64 | | - - name: Mongo 4.2, ReplicaSet, WiredTiger |
| 100 | + NODE_VERSION: 14.16.1 |
| 101 | + - name: MongoDB 4.2, ReplicaSet, WiredTiger |
65 | 102 | MONGODB_VERSION: 4.2.13 |
66 | 103 | MONGODB_TOPOLOGY: replicaset |
67 | 104 | MONGODB_STORAGE_ENGINE: wiredTiger |
68 | | - NODE_VERSION: 14.16.0 |
69 | | - - name: Mongo 4.0, ReplicaSet, WiredTiger |
| 105 | + NODE_VERSION: 14.16.1 |
| 106 | + - name: MongoDB 4.0, ReplicaSet, WiredTiger |
70 | 107 | MONGODB_VERSION: 4.0.23 |
71 | 108 | MONGODB_TOPOLOGY: replicaset |
72 | 109 | MONGODB_STORAGE_ENGINE: wiredTiger |
73 | | - NODE_VERSION: 14.16.0 |
74 | | - - name: Mongo 3.6, Standalone, MMAPv1 |
75 | | - MONGODB_VERSION: 3.6.23 |
| 110 | + NODE_VERSION: 14.16.1 |
| 111 | + - name: MongoDB 4.0, Standalone, MMAPv1 |
| 112 | + MONGODB_VERSION: 4.0.23 |
76 | 113 | MONGODB_TOPOLOGY: standalone |
77 | 114 | MONGODB_STORAGE_ENGINE: mmapv1 |
78 | | - NODE_VERSION: 14.16.0 |
| 115 | + NODE_VERSION: 14.16.1 |
79 | 116 | - name: Redis Cache |
80 | 117 | PARSE_SERVER_TEST_CACHE: redis |
81 | 118 | MONGODB_VERSION: 4.4.4 |
82 | 119 | MONGODB_TOPOLOGY: standalone |
83 | 120 | MONGODB_STORAGE_ENGINE: wiredTiger |
84 | | - NODE_VERSION: 14.16.0 |
85 | | - - name: Node 10 |
86 | | - MONGODB_VERSION: 4.4.4 |
87 | | - MONGODB_TOPOLOGY: standalone |
88 | | - MONGODB_STORAGE_ENGINE: wiredTiger |
89 | | - NODE_VERSION: 10.24.0 |
| 121 | + NODE_VERSION: 14.16.1 |
90 | 122 | - name: Node 12 |
91 | 123 | MONGODB_VERSION: 4.4.4 |
92 | 124 | MONGODB_TOPOLOGY: standalone |
93 | 125 | MONGODB_STORAGE_ENGINE: wiredTiger |
94 | | - NODE_VERSION: 12.22.0 |
| 126 | + NODE_VERSION: 12.22.1 |
95 | 127 | - name: Node 15 |
96 | 128 | MONGODB_VERSION: 4.4.4 |
97 | 129 | MONGODB_TOPOLOGY: standalone |
98 | 130 | MONGODB_STORAGE_ENGINE: wiredTiger |
99 | | - NODE_VERSION: 15.12.0 |
| 131 | + NODE_VERSION: 15.14.0 |
100 | 132 | fail-fast: false |
101 | 133 | name: ${{ matrix.name }} |
102 | 134 | timeout-minutes: 15 |
@@ -136,15 +168,13 @@ jobs: |
136 | 168 | strategy: |
137 | 169 | matrix: |
138 | 170 | include: |
139 | | - - name: Postgres 10, Postgis 3.1 |
140 | | - POSTGRES_IMAGE: postgis/postgis:10-3.1 |
141 | | - - name: Postgres 11, Postgis 3.1 |
| 171 | + - name: PostgreSQL 11, PostGIS 3.0 |
| 172 | + POSTGRES_IMAGE: postgis/postgis:11-3.0 |
| 173 | + - name: PostgreSQL 11, PostGIS 3.1 |
142 | 174 | POSTGRES_IMAGE: postgis/postgis:11-3.1 |
143 | | - - name: Postgres 12, Postgis 3.1 |
| 175 | + - name: PostgreSQL 12, PostGIS 3.1 |
144 | 176 | POSTGRES_IMAGE: postgis/postgis:12-3.1 |
145 | | - - name: Postgres 12, Postgis 3.0 |
146 | | - POSTGRES_IMAGE: postgis/postgis:12-3.0 |
147 | | - - name: Postgres 13, Postgis 3.1 |
| 177 | + - name: PostgreSQL 13, PostGIS 3.1 |
148 | 178 | POSTGRES_IMAGE: postgis/postgis:13-3.1 |
149 | 179 | fail-fast: false |
150 | 180 | name: ${{ matrix.name }} |
|
0 commit comments