Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

fix: upgrade mongodb from 4.3.0 to 4.17.2 #276

fix: upgrade mongodb from 4.3.0 to 4.17.2

fix: upgrade mongodb from 4.3.0 to 4.17.2 #276

Workflow file for this run

name: Build and Test
on: [push]
jobs:
lint:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
node: ["16.x", "lts/fermium"]
os: ["ubuntu-latest"]
steps:
- uses: actions/checkout@v2
- name: Setup node ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{matrix.node}}
cache: "npm"
- run: npm ci
- run: npm run lint
typecheck:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
node: ["16.x", "lts/fermium"]
os: ["ubuntu-latest"]
steps:
- uses: actions/checkout@v2
- name: Setup node ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{matrix.node}}
cache: "npm"
- run: npm ci
- run: npm run typecheck
format:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
node: ["16.x", "lts/fermium"]
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
steps:
- uses: actions/checkout@v2
- name: Setup node ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{matrix.node}}
cache: "npm"
- run: npm ci
- run: npm run format:check
build:
needs: [lint, format, typecheck]
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest"]
node: ["16.x", "lts/fermium"]
steps:
- uses: actions/checkout@v2
- name: Setup node ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{matrix.node}}
cache: "npm"
- run: npm ci
- run: npm run build
test:
needs: [lint, format, typecheck]
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
node: ["16.x", "lts/fermium"]
steps:
- uses: actions/checkout@v2
- name: Setup node ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{matrix.node}}
cache: "npm"
- run: npm ci
- run: npm test