|
|
@@ -15,7 +15,7 @@ jobs:
|
|
|
|
|
|
strategy:
|
|
|
matrix:
|
|
|
- node-version: [14.x]
|
|
|
+ node-version: [16.x]
|
|
|
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
@@ -64,17 +64,13 @@ jobs:
|
|
|
|
|
|
strategy:
|
|
|
matrix:
|
|
|
- node-version: [14.x]
|
|
|
+ node-version: [16.x]
|
|
|
|
|
|
services:
|
|
|
mongodb:
|
|
|
image: mongo:4.4
|
|
|
ports:
|
|
|
- 27017/tcp
|
|
|
- mongodb36:
|
|
|
- image: mongo:3.6
|
|
|
- ports:
|
|
|
- - 27017/tcp
|
|
|
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
@@ -105,12 +101,6 @@ jobs:
|
|
|
yarn test
|
|
|
env:
|
|
|
MONGO_URI: mongodb://localhost:${{ job.services.mongodb.ports['27017'] }}/growi_test
|
|
|
- - name: yarn test with MongoDB 3.6
|
|
|
- working-directory: ./packages/app
|
|
|
- run: |
|
|
|
- yarn test
|
|
|
- env:
|
|
|
- MONGO_URI: mongodb://localhost:${{ job.services.mongodb36.ports['27017'] }}/growi_test
|
|
|
|
|
|
- name: Upload coverage report as artifact
|
|
|
uses: actions/upload-artifact@v2
|
|
|
@@ -135,7 +125,7 @@ jobs:
|
|
|
|
|
|
strategy:
|
|
|
matrix:
|
|
|
- node-version: [14.x]
|
|
|
+ node-version: [16.x]
|
|
|
|
|
|
services:
|
|
|
mongodb:
|