Skip to content

add unstable flag to deno tests #714

add unstable flag to deno tests

add unstable flag to deno tests #714

Workflow file for this run

name: Tests
on:
push:
workflow_dispatch:
jobs:
node-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: build
run: pnpm run build
- name: tests
run: pnpm run test
deno-tests:
runs-on: ubuntu-latest
services:
mongodb:
image: mongo
options: >-
--health-cmd "echo 'db.runCommand("ping").ok' | mongosh --quiet"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 27017:27017
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: tests
run: deno install
- name: tests
run: deno task test