This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
Add GitHub action for running TAP tests. #4
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: Run tap tests | |
on: | |
- push | |
- pull_request | |
# Allow manually triggering the workflow. | |
- workflow_dispatch | |
# Cancels all previous workflow runs for the same branch that have not yet completed. | |
concurrency: | |
# The concurrency group contains the workflow name and the branch name. | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm install | |
- run: ./node_modules/.bin/tap --color --reporter=base test/*.mjs |