Skip to content

[FEAT] nats examples #29

[FEAT] nats examples

[FEAT] nats examples #29

Workflow file for this run

name: nhgc
on:
push:
paths:
- 'nhgc/**'
tags:
- '*'
branches:
- '*'
pull_request:
paths:
- 'nhgc/**'
branches: [main]
jobs:
test:
name: ${{ matrix.config.kind }} ${{ matrix.config.os }}
runs-on: ubuntu-latest
environment: CI
strategy:
matrix:
deno-version: [1.42.4]
steps:
- name: Git Checkout NHGC
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Use Deno Version ${{ matrix.deno-version }}
uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno-version }}
- name: Lint Deno Module
working-directory: nhgc
run: |
deno fmt --check --ignore=docs/
- name: Test Deno Module
working-directory: nhgc
env:
TMPDIR: ${{ runner.temp }}
CI: true
NHG_APIKEY: ${{ secrets.NHG_APIKEY }}
NHG_URL: ${{ secrets.NHG_URL }}
run: |
deno test --allow-all --unstable --parallel --fail-fast --coverage=./cov