Skip to content

use modern deno streams #866

use modern deno streams

use modern deno streams #866

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
build:
name: ubuntu-latest
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
mongo: ["4.0", "4.2", "4.4", "5.0", "6.0"]
steps:
- name: Setup Environment
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Clone repository
uses: actions/checkout@v2
- name: Install Deno
uses: denolib/setup-deno@master
with:
deno-version: 1.x.x
- name: Log versions
run: |
deno --version
# Lint & Format
- name: Lint & Format TS
run: |
deno lint --ignore=./bson/bson.d.ts
deno fmt --check
# Start MongoDB
- name: Start MongoDB (Linux)
uses: wbari/[email protected]
with:
mongoDBVersion: ${{ matrix.mongo }}
# Tests
- name: Test TS
run: deno test -A