Skip to content

Commit

Permalink
ci: add github action (#16)
Browse files Browse the repository at this point in the history
* ci: add github action

* ci: add github action
  • Loading branch information
splincode authored Nov 21, 2023
1 parent 9f3c027 commit 7f10a2e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Node.js CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: npm ci
- run: npm run lint
- run: npm test
- run: npm run tsc
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion src/command-line-parser/command-line.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export interface ArgumentOptions {
alias: string;
}

export type CommandLineDefinitions = Array<Partial<ArgumentOptions>>;
export type CommandLineDefinitions = Partial<ArgumentOptions>[];

export interface Argv {
help: boolean;
Expand Down

0 comments on commit 7f10a2e

Please sign in to comment.