1.5.0 #12
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: Unit tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the Repo | |
- uses: actions/checkout@v2 | |
# Install Node 16 | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
# Install APT dependencies | |
- run: sudo apt update && sudo apt install -y python2.7 python3 build-essential ghostscript libjpeg-dev libpng-dev libcurl4-openssl-dev mupdf-tools libfreetype6-dev qpdf | |
# Install NPM dependencies | |
- run: npm install | |
# Run tests | |
- run: npm test |