Skip to content

💸 Add sponsor

💸 Add sponsor #305

Workflow file for this run

name: Tests
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
branches:
- main
paths-ignore:
- '**.md'
jobs:
test-coverage:
name: Run tests
if: github.event.push || github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Cache Node Modules
id: cache-node-modules
uses: actions/cache@v2
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
- name: Installing Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm install
- name: Running Tests
run: npm run test