Skip to content

Commit

Permalink
chore(ci): switch to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Jul 29, 2023
1 parent e901cf7 commit b41d876
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 18 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/tester.yml
@@ -0,0 +1,22 @@
name: Tester

on: [push, pull_request]

jobs:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
- name: Install Dependencies
run: npm install
- run: npm run eslint
- name: Coverage
run: npx nyc --reporter=lcovonly npm run test
env:
CI: true
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
@@ -1,6 +1,6 @@
# hexo-generator-alias

[![Build Status](https://travis-ci.org/hexojs/hexo-generator-alias.svg?branch=master)](https://travis-ci.org/hexojs/hexo-generator-alias)
[![Build Status](https://img.shields.io/github/actions/workflow/status/hexojs/hexo-generator-alias/tester.yml?branch=master&label=test)](https://github.com/hexojs/hexo-generator-alias/actions?query=workflow%3ATester)
[![NPM version](https://badge.fury.io/js/hexo-generator-alias.svg)](https://www.npmjs.com/package/hexo-generator-alias)
[![Coverage Status](https://img.shields.io/coveralls/hexojs/hexo-generator-alias.svg)](https://coveralls.io/r/hexojs/hexo-generator-alias?branch=master)

Expand Down

0 comments on commit b41d876

Please sign in to comment.