Skip to content

Commit 749b00d

Browse files
committed
Use GitHub actions for CI
1 parent 253bdaa commit 749b00d

File tree

3 files changed

+25
-15
lines changed

3 files changed

+25
-15
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Continuous Integration
2+
on: [push]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
7+
strategy:
8+
matrix:
9+
node-version: [12.x]
10+
11+
steps:
12+
- uses: actions/checkout@v1
13+
- name: Use Node.js ${{ matrix.node-version }}
14+
uses: actions/setup-node@v1
15+
with:
16+
node-version: ${{ matrix.node-version }}
17+
- name: install, build, test
18+
run: |
19+
npm ci --no-optional --no-audit --progress=false
20+
npm run lint
21+
npm run test
22+
npm pack --loglevel notice 2>&1 >/dev/null | sed -e 's/^npm notice //' && rm *.tgz
23+
env:
24+
CI: true

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [stylelint-config-torchbox](https://www.npmjs.com/package/stylelint-config-torchbox) [<img src="https://raw.githubusercontent.com/torchbox/stylelint-config-torchbox/master/.github/stylelint-logo.svg?sanitize=true" alt="Stylelint" width="90" height="90" align="right">](https://stylelint.io)
22

3-
[![stylelint-config-torchbox on npm](https://img.shields.io/npm/v/stylelint-config-torchbox.svg)](https://www.npmjs.com/package/stylelint-config-torchbox) [![Build Status](https://travis-ci.com/torchbox/stylelint-config-torchbox.svg?branch=master)](https://travis-ci.com/torchbox/stylelint-config-torchbox)
3+
[![stylelint-config-torchbox on npm](https://img.shields.io/npm/v/stylelint-config-torchbox.svg)](https://www.npmjs.com/package/stylelint-config-torchbox) [![Build status](https://github.com/actions/torchbox/stylelint-config-torchbox/.github/workflows/ci.yml/badge.svg)](https://github.com/torchbox/stylelint-config-torchbox/actions)
44

55
> Shareable stylelint config for CSS and SCSS, following Torchbox’s code style.
66

0 commit comments

Comments
 (0)