Skip to content

typedoc

typedoc #25

Workflow file for this run

# .github/workflows/ci.yml
name: CI
# Controls when the workflow will run
on:
# all branches
push:
branches:
- main
pull_request:
branches:
- "*"
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build-and-test:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout repository
uses: actions/checkout@v3
# Sets up Node.js environment
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "20" # Specify the Node.js version you want to use
cache: "npm" # Caches npm dependencies
# Install dependencies
- name: Install dependencies
run: npm install
# Run tests
- name: Run tests and coverage
run: npm run coverage
# Upload coverage to Coveralls
- name: Coveralls
uses: coverallsapp/github-action@v2