Skip to content

Commit

Permalink
build: Replace Travis with GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Oct 27, 2021
1 parent a2b1206 commit 40c5d40
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 18 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Node CI

on:
push:
branches:
- master
pull_request:
branches:
- '**'

jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Nodejs
uses: actions/setup-node@v1
with:
node-version: 12

- name: Install dependencies
run: npm install

- name: Test
run: npm run test
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.gitignore
.npmignore
.travis.yml
node_modules
16 changes: 0 additions & 16 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
@@ -1,5 +1,5 @@
# edX Stylelint configs
[![Build Status](https://travis-ci.com/edx/stylelint-config-edx.svg?branch=master)](https://travis-ci.com/edx/eslint-config-edx)
[![Build Status](https://github.com/edx/stylelint-config-edx/workflows/Node%20CI/badge.svg?branch=master)](https://github.com/edx/stylelint-config-edx/actions?query=workflow%3A%22Node+CI%22)

Stylelint configs for edX Sass files.

Expand Down

0 comments on commit 40c5d40

Please sign in to comment.