Skip to content

Commit

Permalink
Merge pull request #94 from domharrington/feature/gh-actions-ci
Browse files Browse the repository at this point in the history
feature: gh actions ci
  • Loading branch information
domharrington authored Jun 17, 2024
2 parents f121d24 + 0c43fac commit 15c4a65
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 24 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Node.js CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

Git log parser for Node.JS

[![build status](https://api.travis-ci.org/domharrington/node-gitlog.svg)](http://travis-ci.org/domharrington/node-gitlog)
[![dependency status](https://david-dm.org/domharrington/node-gitlog.svg)](https://david-dm.org/domharrington/node-gitlog)

## Installation

```sh
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
execFile,
execFileSync,
ExecFileSyncOptions,
ExecFileException,
ExecException,
} from "child_process";
import { existsSync } from "fs";
import createDebugger from "debug";
Expand Down Expand Up @@ -306,7 +306,7 @@ function createCommandArguments<
return command;
}

type GitlogError = ExecFileException | null;
type GitlogError = ExecException | null;

type CommitBase<Field extends string> = Record<Field, string>;
type CommitBaseWithFiles<Field extends string> = Record<
Expand Down

0 comments on commit 15c4a65

Please sign in to comment.