added js doc and refactored some terms #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |