Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

move to GitHub actions #87

Merged
merged 5 commits into from
Nov 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: pimatic-hap

on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 8.x, 10.x, 12.x ]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: sudo apt-get -qq update
- run: sudo apt-get install -y libavahi-compat-libdnssd-dev
- run: npm install
- run: npm run build --if-present
- run: npm test
env:
CI: true
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[![Build Status](http://img.shields.io/travis/michbeck100/pimatic-hap/master.svg)](https://travis-ci.org/michbeck100/pimatic-hap)
[![Version](https://img.shields.io/npm/v/pimatic-hap.svg)](https://img.shields.io/npm/v/pimatic-hap.svg)
[![downloads][downloads-image]][downloads-url]
![Build Status](https://github.com/michbeck100/pimatic-hap/workflows/pimatic-hap/badge.svg)
[![Version](https://img.shields.io/npm/v/pimatic-hap.svg)][downloads-url]
[![downloads](https://img.shields.io/npm/dm/pimatic-hap.svg?style=flat)][downloads-url]

[downloads-image]: https://img.shields.io/npm/dm/pimatic-hap.svg?style=flat
[downloads-url]: https://npmjs.org/package/pimatic-hap

pimatic-hap
Expand Down