Skip to content

Commit

Permalink
Merge pull request #1080 from pi-hole/xo
Browse files Browse the repository at this point in the history
Switch to xo + prettier
  • Loading branch information
PromoFaux authored Jan 3, 2020
2 parents 4fbec2a + d29ac3a commit 0a16b94
Show file tree
Hide file tree
Showing 24 changed files with 8,573 additions and 3,407 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Tests
on: [push, pull_request]
env:
CI: true

jobs:
run:
name: Node ${{ matrix.node }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node: [12]

steps:
- name: Clone repository
uses: actions/checkout@v2

- name: Set Node.js version
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}

- run: node --version
- run: npm --version

- name: Install npm dependencies
run: npm ci

- name: Run tests
run: npm test
Loading

0 comments on commit 0a16b94

Please sign in to comment.