Skip to content

Commit

Permalink
Switch to GitHub Actions CI
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Dec 11, 2019
1 parent 0a8318d commit 70528af
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 8 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: [6, 8, 10, 12]

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

- 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 install # switch to `ci` when Node.js 6.x is dropped

- name: Run tests
run: npm test
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
**Publish to GitHub Pages with Grunt**

[![NPM version](https://img.shields.io/npm/v/grunt-gh-pages.svg)](https://www.npmjs.com/package/grunt-gh-pages)
[![Build Status](https://img.shields.io/travis/tschaub/grunt-gh-pages/master.svg)](https://travis-ci.org/tschaub/grunt-gh-pages)
[![Build Status](https://github.com/tschaub/grunt-gh-pages/workflows/Tests/badge.svg)](https://github.com/tschaub/grunt-gh-pages/actions?workflow=Tests)
[![Dependency Status](https://img.shields.io/david/tschaub/grunt-gh-pages.svg)](https://david-dm.org/tschaub/grunt-gh-pages)
[![devDependency Status](https://img.shields.io/david/dev/tschaub/grunt-gh-pages.svg)](https://david-dm.org/tschaub/grunt-gh-pages?type=dev)

Expand Down

0 comments on commit 70528af

Please sign in to comment.