Skip to content

Commit 2689c11

Browse files
committed
Replace Travis with Github Actions
1 parent 6379a93 commit 2689c11

File tree

4 files changed

+36
-8
lines changed

4 files changed

+36
-8
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ charset = utf-8
77
trim_trailing_whitespace = true
88
insert_final_newline = true
99

10-
[{package.json,.travis.yml}]
10+
[{package.json,*.yml}]
1111
indent_style = space
1212
indent_size = 2

.github/workflows/nodejs.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- '**'
10+
11+
jobs:
12+
test:
13+
name: Lint and test on Node.js ${{ matrix.node }}
14+
15+
runs-on: ubuntu-latest
16+
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
node: [10, 12]
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
25+
- uses: actions/setup-node@v1
26+
with:
27+
node-version: ${{ matrix.node }}
28+
29+
- run: npm ci
30+
31+
- name: Lint and Test
32+
run: npm test

.travis.yml

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

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# PostCSS Sorting [![Build Status][ci-img]][ci] [![npm version][npm-version-img]][npm] [![npm downloads last month][npm-downloads-img]][npm]
1+
# PostCSS Sorting
2+
3+
[![npm version][npm-version-img]][npm] [![npm downloads last month][npm-downloads-img]][npm]
24

35
[PostCSS] plugin to keep rules and at-rules content in order.
46

@@ -216,8 +218,6 @@ For more information and options, please consult the [postcss-cli docs](https://
216218

217219
I recommend [Prettier] for formatting style sheets.
218220

219-
[ci-img]: https://travis-ci.org/hudochenkov/postcss-sorting.svg
220-
[ci]: https://travis-ci.org/hudochenkov/postcss-sorting
221221
[npm-version-img]: https://img.shields.io/npm/v/postcss-sorting.svg
222222
[npm-downloads-img]: https://img.shields.io/npm/dm/postcss-sorting.svg
223223
[npm]: https://www.npmjs.com/package/postcss-sorting

0 commit comments

Comments
 (0)