Skip to content

Commit

Permalink
Merge pull request #61 from svrooij/beta
Browse files Browse the repository at this point in the history
Move to Github Actions for CI/CD
  • Loading branch information
svrooij committed Jun 4, 2020
2 parents 3a8b42e + 922e85e commit 0b8b39d
Show file tree
Hide file tree
Showing 6 changed files with 115 additions and 4,664 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Build and test
name: Run tests and publish

on:
push:
branches:
- master
- development
- beta
pull_request:

jobs:
Expand All @@ -13,7 +13,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v1

- name: Use node 12
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install depencencies
run: npm ci
- name: Build library
Expand All @@ -24,3 +27,9 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
id: semantic
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Support me on Github][badge_sponsor]][link_sponsor]
[![npm][badge_npm]][link_npm]
[![travis][badge_travis]][link_travis]
[![Run tests and publish][badge_build]][link_build]
[![github issues][badge_issues]][link_issues]
[![Coverage Status](https://coveralls.io/repos/github/svrooij/node-sonos-ts/badge.svg?branch=master)](https://coveralls.io/github/svrooij/node-sonos-ts?branch=master)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
Expand Down Expand Up @@ -201,9 +201,9 @@ the original library. That wouldn't exists without the [contributors](https://gi
[badge_sponsor]: https://img.shields.io/badge/Sponsor-on%20Github-red
[badge_issues]: https://img.shields.io/github/issues/svrooij/node-sonos-ts
[badge_npm]: https://img.shields.io/npm/v/@svrooij/sonos
[badge_travis]: https://img.shields.io/travis/svrooij/node-sonos-ts
[badge_build]: https://github.com/svrooij/node-sonos-ts/workflows/Run%20tests%20and%20publish/badge.svg

[link_sponsor]: https://github.com/sponsors/svrooij
[link_issues]: https://github.com/svrooij/node-sonos-ts/issues
[link_npm]: https://www.npmjs.com/package/@svrooij/sonos
[link_travis]: https://travis-ci.org/svrooij/node-sonos-ts
[link_build]: https://github.com/svrooij/node-sonos-ts/actions
Loading

0 comments on commit 0b8b39d

Please sign in to comment.