mirror of
https://github.com/pi-hole/web.git
synced 2026-04-17 07:34:13 +01:00
* Better prettier output Signed-off-by: rdwebdesign <github@rdwebdesign.com.br> * Adding a new test, to preserve the current behavior. Signed-off-by: rdwebdesign <github@rdwebdesign.com.br> * Fix command Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
35 lines
512 B
YAML
35 lines
512 B
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- devel
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- "**"
|
|
|
|
env:
|
|
FORCE_COLOR: 2
|
|
|
|
jobs:
|
|
run:
|
|
name: Node
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Clone repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: "14.x"
|
|
cache: npm
|
|
|
|
- name: Install npm dependencies
|
|
run: npm ci
|
|
|
|
- name: Run tests
|
|
run: npm run testpr
|