Skip to content

Commit

Permalink
Merge pull request #54 from robhurring/add-github-action
Browse files Browse the repository at this point in the history
Add a GitHub Action to run tests
  • Loading branch information
stephenyeargin authored Sep 2, 2021
2 parents dcb29a7 + 68999a3 commit 2601c47
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Node CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test
env:
CI: true
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Hubot Redmine

[![npm version](https://badge.fury.io/js/hubot-redmine.svg)](https://badge.fury.io/js/hubot-redmine) [![Node CI](https://github.com/robhurring/hubot-redmine/actions/workflows/nodejs.yml/badge.svg)](https://github.com/robhurring/hubot-redmine/actions/workflows/nodejs.yml)

Light mapping of the Redmine REST API that allows Hubot access to some basic Redmine tasks. Once you have a Redmine user (preferably one with enough access to modify tickets), add the following to your Heroku/etc. config:

heroku config:add HUBOT_REDMINE_BASE_URL="http://redmine.your-server.com"
Expand Down

0 comments on commit 2601c47

Please sign in to comment.