Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
move from travis to github actions, bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeny-bond committed Nov 24, 2020
1 parent 46c13a9 commit 5bfb05e
Show file tree
Hide file tree
Showing 8 changed files with 1,119 additions and 1,509 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.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 and Test 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
npm ci
npm tst
npm run coverage-report
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Anechka

[![Build Status](https://travis-ci.com/jehy/anechka.svg?branch=master)](https://travis-ci.com/jehy/anechka)

![Build](https://github.com/jehy/anechka/workflows/Build/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/jehy/anechka/badge.svg?branch=master)](https://coveralls.io/github/jehy/anechka?branch=master)
[![dependencies Status](https://david-dm.org/jehy/anechka/status.svg)](https://david-dm.org/jehy/anechka)
[![devDependencies Status](https://david-dm.org/jehy/anechka/dev-status.svg)](https://david-dm.org/jehy/anechka?type=dev)
Expand Down
2 changes: 0 additions & 2 deletions modules/slack.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ async function fetchSlackUsers() {
return true;
}


/**
* @typedef {Object} Timetable
* @property {string} conversation slack group or channel from config
Expand Down Expand Up @@ -258,7 +257,6 @@ async function updateSlackTopicCacheData(timetable, devName) {
return true;
}


/**
*
* @param {Timetable} timetable
Expand Down
2 changes: 0 additions & 2 deletions modules/spreadsheets.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const fs = require('fs-extra');
const bunyan = require('bunyan');
const path = require('path');


let log;
// Load client secrets from a local file.

Expand Down Expand Up @@ -51,7 +50,6 @@ function initSpreadSheets() {
init = true;
}


async function fetchTimetableData(timetable) {
const year = moment().format('Y');
const {
Expand Down
Loading

0 comments on commit 5bfb05e

Please sign in to comment.