Skip to content

style: add type

style: add type #159

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.4"]
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: denoland/setup-deno@v2
with:
deno-version: 2.x
- name: Log versions
run: |
deno --version
# Lint
- name: Lint TS
run: deno lint
# Start MongoDB
- name: Start MongoDB (Linux)
uses: wbari/[email protected]
with:
mongoDBVersion: ${{ matrix.mongo }}
# Tests
- name: Test Mongodb
env:
BASE_URL: mongodb://localhost:27017/test
run: deno task test
- name: Publish package
run: deno publish