Skip to content

Commit ee09ee7

Browse files
committed
Migrate from Travis CI to GitHub Actions
1 parent 9c190d9 commit ee09ee7

File tree

5 files changed

+38
-20
lines changed

5 files changed

+38
-20
lines changed

.github/workflows/main.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
test:
13+
14+
runs-on: ubuntu-latest
15+
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
node-version: [12.x, 14.x, 16.x]
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v2
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
- run: npm install
28+
- run: gulp lint
29+
- run: npm test
30+
- run: npm run coveralls
31+
32+
- name: Coveralls
33+
uses: coverallsapp/github-action@master
34+
with:
35+
github-token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
2+
coverage
23
.nyc_output

.travis.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [gulp](https://github.com/wearefractal/gulp)-inline-css [![Build Status](https://travis-ci.org/jonkemp/gulp-inline-css.svg?branch=master)](https://travis-ci.org/jonkemp/gulp-inline-css) [![Coverage Status](https://coveralls.io/repos/jonkemp/gulp-inline-css/badge.svg?branch=master&service=github)](https://coveralls.io/github/jonkemp/gulp-inline-css?branch=master)
1+
# [gulp](https://github.com/wearefractal/gulp)-inline-css ![Build Status](https://github.com/jonkemp/gulp-inline-css/actions/workflows/main.yml/badge.svg?branch=master) [![Coverage Status](https://coveralls.io/repos/jonkemp/gulp-inline-css/badge.svg?branch=master&service=github)](https://coveralls.io/github/jonkemp/gulp-inline-css?branch=master)
22

33
[![NPM](https://nodei.co/npm/gulp-inline-css.png?downloads=true)](https://nodei.co/npm/gulp-inline-css/)
44

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"test": "mocha",
3131
"lint": "gulp lint",
3232
"coverage": "nyc npm test && nyc report",
33-
"coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls"
33+
"coveralls": "nyc npm test && nyc report --reporter=lcov"
3434
},
3535
"files": [
3636
"index.js"

0 commit comments

Comments
 (0)