Skip to content

Commit

Permalink
Merge pull request #24 from modos189/fix-hm
Browse files Browse the repository at this point in the history
Added jsdoc build check for PR
  • Loading branch information
modos189 authored Feb 26, 2023
2 parents e03f48e + f3aab51 commit 5a93858
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/jsdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- master
pull_request:
paths-ignore:
- '!.github/**'

jobs:
deploy:
Expand All @@ -22,6 +25,7 @@ jobs:
front_page: README.md

- name: Deploy
if: github.event_name != 'pull_request'
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lib-iitc-manager",
"version": "1.6.0",
"version": "1.6.1",
"description": "Library for managing IITC plugins",
"main": "src/index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src/matching.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function matchPath(rule, data) {
* Otherwise, it returns a list of strings with domains.
*
* @param {plugin} meta - Object with data from ==UserScript== header.
* @return {null|string|[]}
* @return {null|string|Array.<string>}
*/
export function humanize_match(meta) {
const match = meta.match || [];
Expand Down

0 comments on commit 5a93858

Please sign in to comment.