Skip to content

Commit

Permalink
Switch to gh-actions (#226)
Browse files Browse the repository at this point in the history
* drop appveyor & travis
* drop node 8 & 10 support
* bump eslint* to latest
* bump all other packages to latest minor
  • Loading branch information
tomap committed Jan 14, 2022
1 parent da08fc0 commit f14f44b
Show file tree
Hide file tree
Showing 7 changed files with 7,215 additions and 80 deletions.
5 changes: 4 additions & 1 deletion .github/dependabot.yml
Expand Up @@ -4,4 +4,7 @@ updates:
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 20
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
50 changes: 50 additions & 0 deletions .github/workflows/tester.yml
@@ -0,0 +1,50 @@
name: Tester

on: [push, pull_request]

jobs:
tester:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: ['12.x', '14.x', '16.x']
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install
- name: git-config
run: git config --global user.email "you@example.com" && git config --global user.name "Your Name"
- name: Test
run: npm test -- --no-parallel
env:
CI: true
coverage:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: ['14.x']
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install
- name: git-config
run: git config --global user.email "you@example.com" && git config --global user.name "Your Name"
- name: Coverage
run: npm run test-cov
env:
CI: true
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
@@ -1,9 +1,8 @@
# hexo-deployer-git

[![Build Status](https://travis-ci.org/hexojs/hexo-deployer-git.svg?branch=master)](https://travis-ci.org/hexojs/hexo-deployer-git)
[![Build Status](https://github.com/hexojs/hexo-deployer-git/workflows/Tester/badge.svg)](https://github.com/hexojs/hexo-deployer-git/actions?query=workflow%3ATester)
[![NPM version](https://badge.fury.io/js/hexo-deployer-git.svg)](https://www.npmjs.com/package/hexo-deployer-git)
[![Coverage Status](https://img.shields.io/coveralls/hexojs/hexo-deployer-git.svg)](https://coveralls.io/r/hexojs/hexo-deployer-git?branch=master)
[![Build status](https://ci.appveyor.com/api/projects/status/liqy4nib33ht70so/branch/master?svg=true)](https://ci.appveyor.com/project/tommy351/hexo-deployer-git/branch/master)

Git deployer plugin for [Hexo].

Expand Down
37 changes: 0 additions & 37 deletions appveyor.yml

This file was deleted.

0 comments on commit f14f44b

Please sign in to comment.