Skip to content

Commit

Permalink
build: Migrate to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fletchto99 committed Feb 3, 2020
1 parent 8e33819 commit 2a7629a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install deps
run: npm install
- name: lint
run: npm run lint
- name: build theme
run: npm run prod
15 changes: 0 additions & 15 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,6 +1,6 @@
# Tranquilpeak

[![Build Status](https://img.shields.io/travis/LouisBarranqueiro/hexo-theme-tranquilpeak/master.svg?style=flat-square)](https://travis-ci.com/LouisBarranqueiro/hexo-theme-tranquilpeak)
[![Build Status](https://github.com/LouisBarranqueiro/hexo-theme-tranquilpeak/workflows/Node%20CI/badge.svg?branch=master)](https://github.com/LouisBarranqueiro/hexo-theme-tranquilpeak/actions)
[![gitter chat](https://img.shields.io/gitter/room/LouisBarranqueiro/hexo-theme-tranquilpeak.svg?style=flat-square)](https://gitter.im/LouisBarranqueiro/hexo-theme-tranquilpeak)

A gorgeous responsive theme for Hexo blog framework
Expand Down

0 comments on commit 2a7629a

Please sign in to comment.