Skip to content

Commit

Permalink
ci: migrate to github-actions from travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Jan 4, 2020
1 parent 78cb12f commit d3cac9d
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 25 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Tests

on:
push:
branches: master

env:
CI: true
NODE_VERSION: 12

jobs:
test:
name: Tests
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}

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

- name: NPM Install
run: npm ci

- name: Build
run: npm run build
env:
NODE_ENV: production

- name: Test
run: npm run test
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</p>
<p align="center">A Simple Notification Service for Angular Applications</p>
<p align="center">
<a href="https://travis-ci.com/sibiraj-s/ngx-notifier">
<img alt="Build Status" src="https://travis-ci.com/sibiraj-s/ngx-notifier.svg?branch=master">
<a href="https://github.com/sibiraj-s/ngx-notifier/actions">
<img alt="Tests Status" src="https://github.com/sibiraj-s/ngx-notifier/workflows/Tests/badge.svg">
</a>
<a href="https://www.npmjs.com/package/ngx-notifier">
<img alt="npm version" src="https://img.shields.io/npm/v/ngx-notifier.svg">
Expand Down

0 comments on commit d3cac9d

Please sign in to comment.