Skip to content

Commit 89f3f57

Browse files
authored
Merge pull request #18 from uiur/uiur-patch-1
Setup ci on actions
2 parents ac95491 + b3ab953 commit 89f3f57

File tree

2 files changed

+34
-4
lines changed

2 files changed

+34
-4
lines changed

.github/workflows/node.js.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Node.js CI
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
strategy:
18+
matrix:
19+
node-version: [12.x, 14.x, 16.x]
20+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: Use Node.js ${{ matrix.node-version }}
25+
uses: actions/setup-node@v2
26+
with:
27+
node-version: ${{ matrix.node-version }}
28+
cache: 'npm'
29+
- run: npm ci
30+
- run: npm run build --if-present
31+
- run: npm test

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# github-pr-release
2-
[![Build Status](https://travis-ci.org/uiureo/github-pr-release.svg)](https://travis-ci.org/uiureo/github-pr-release)
32
[![](https://img.shields.io/npm/v/github-pr-release.svg)](https://www.npmjs.com/package/github-pr-release)
43

54
Create a release pull request by using Github API. Inspired by [git-pr-release]( https://github.com/motemen/git-pr-release).
@@ -21,7 +20,7 @@ var release = require('github-pr-release')
2120

2221
var config = {
2322
token: 'your github token',
24-
owner: 'uiureo',
23+
owner: 'uiur',
2524
repo: 'awesome-web-app',
2625
head: 'master', // optional
2726
base: 'production', // optional
@@ -53,7 +52,7 @@ You can specify a template to change the message format. Pass a template path to
5352
```javascript
5453
release({
5554
token: 'token'
56-
owner: 'uiureo',
55+
owner: 'uiur',
5756
repo: 'awesome-web-app',
5857
template: './template.mustache'
5958
})
@@ -74,7 +73,7 @@ If you use this plugin in GitHub Enterprise, you can specify endpoint domain for
7473
```javascript
7574
release({
7675
token: 'token'
77-
owner: 'uiureo',
76+
owner: 'uiur',
7877
repo: 'awesome-web-app',
7978
endpoint: 'https://github.yourdomain.com/api/v3'
8079
})

0 commit comments

Comments
 (0)