Skip to content

Commit

Permalink
Update readme and action
Browse files Browse the repository at this point in the history
  • Loading branch information
albertopasqualetto committed Sep 5, 2023
1 parent 421520d commit 44983b8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: 'lts'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ If browser is not found, it returns null.

Other browsers (Opera, Brave, ...) will be added in future, feel free to help me!

## Install
```
npm i browser-paths
```

## Usage
```javascript
import { getChromiumPath } from "browser-paths"; # or any other supported browser
path = getChromiumPath()
```

## Supported Browsers

- Google Chrome
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "browser-paths",
"version": "1.1.1",
"version": "1.1.2",
"author": {
"name": "Alberto Pasqualetto",
"email": "[email protected]"
Expand All @@ -21,6 +21,6 @@
"license": "Apache-2.0",
"main": "./index.js",
"dependencies": {
"which": "^3.0.1"
"which": "^4.0.0"
}
}

0 comments on commit 44983b8

Please sign in to comment.