1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-06 18:18:53 +08:00
Files
sqliteviz/.github/workflows/test.yml
2021-04-24 16:00:31 +02:00

32 lines
612 B
YAML

name: Run tests
on:
workflow_dispatch:
push:
branches:
- 'master'
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: Install browsers
run: |
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt-get install -y chromium-browser firefox
- name: Install the project
run: npm install
- name: Run lint
run: npm run lint
- name: Run karma tests
run: npm run test