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 f9580f1 commit ae20660
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 20 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/tester.yml
Original file line number Diff line number Diff line change
@@ -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 }}
19 changes: 0 additions & 19 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 @@
# FTP deployer

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

Deploy your site via FTP.
Expand Down

0 comments on commit ae20660

Please sign in to comment.