Merge pull request #40 from tcr/dependabot/npm_and_yarn/multi-6939b91310 #18
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: Scissor Tests | |
on: | |
- pull_request | |
- push | |
jobs: | |
run_tests: | |
name: Run Scissors tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [10.x, 12.x, 14.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Ubuntu package dependencies | |
run: | | |
sudo apt-get install -y pdftk ghostscript imagemagick poppler-utils | |
npm install --no-optional | |
- name: Run tests | |
run: npm test |