Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 23 additions & 12 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,41 +8,52 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: ['lts/*', 'lts/-1', 'lts/-2']

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: latest

- name: Install Dependencies
run: npm ci
run: pnpm install

- name: Lint code
run: pnpm run lint

- name: Test ${{ matrix.test_number }}
run: npm test -- --watchAll=false
- name: Check formatting
run: pnpm exec prettier --check .

- name: Test
run: pnpm test -- --watchAll=false
env:
CI: true

- name: Coveralls Parallel
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
flag-name: run-${{ matrix.test_number }}
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-${{ matrix.node-version }}
parallel: true

- name: Test Build
run: npm run build --if-present
run: pnpm run build --if-present

finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.vscode
coverage
node_modules
package-lock.json
pnpm-lock.yaml
9 changes: 4 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ All notable changes to this project will be documented in this file. See [standa

## [1.6.0](https://github.com/stdavis/good-samaritan/compare/v1.5.0...v1.6.0) (2022-04-11)


### Features

* add max issues optional parameter ([2ba2a4a](https://github.com/stdavis/good-samaritan/commit/2ba2a4a9781f3b51a80cda8f791af1f7e41b0a5b)), closes [#13](https://github.com/stdavis/good-samaritan/issues/13)
* add search-sub-deps flag ([e1bc443](https://github.com/stdavis/good-samaritan/commit/e1bc44308850b612b0f30593eda0ef92cf6e81c7))
* add total processing time metric ([9b15a38](https://github.com/stdavis/good-samaritan/commit/9b15a38b50b998051a826da6aff118b35ed5ae94))
* implement recommended octokit plugins throttle and retry ([56d9081](https://github.com/stdavis/good-samaritan/commit/56d9081efbc193dcf21ad9b19f44fe5ffaeaf97b))
- add max issues optional parameter ([2ba2a4a](https://github.com/stdavis/good-samaritan/commit/2ba2a4a9781f3b51a80cda8f791af1f7e41b0a5b)), closes [#13](https://github.com/stdavis/good-samaritan/issues/13)
- add search-sub-deps flag ([e1bc443](https://github.com/stdavis/good-samaritan/commit/e1bc44308850b612b0f30593eda0ef92cf6e81c7))
- add total processing time metric ([9b15a38](https://github.com/stdavis/good-samaritan/commit/9b15a38b50b998051a826da6aff118b35ed5ae94))
- implement recommended octokit plugins throttle and retry ([56d9081](https://github.com/stdavis/good-samaritan/commit/56d9081efbc193dcf21ad9b19f44fe5ffaeaf97b))

## [1.5.0](https://github.com/stdavis/good-samaritan/compare/v1.4.0...v1.5.0) (2021-01-05)

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ Only issues that are labeled as "help wanted" are shown by default.

## Usage

Run `npx good-samaritan` from the root of any project with a `package.json` file.
Run `pnpm dlx good-samaritan` from the root of any project with a `package.json` file.

Or, alternatively, install this project globally via: `npm install -g good-samaritan` and then run `good-samaritan`.
Or, alternatively, install this project globally via: `pnpm add -g good-samaritan` and then run `good-samaritan`.

## Development

### Local installation

`npm link`
`pnpm link --global`

Then you should be able to run `good-samaritan` anywhere.

Expand All @@ -34,5 +34,5 @@ Then you should be able to run `good-samaritan` anywhere.

### Cutting a new release

1. `npm run release`
1. `npm publish`
1. `pnpm run release`
1. `pnpm publish`
Loading