Skip to content

Commit

Permalink
Setup GitHub Workflow for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
piecioshka committed Oct 17, 2024
1 parent db38f49 commit c356345
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x]
node-version: [16.x, 18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test:unit": "jasmine JASMINE_CONFIG_PATH=test/unit/jasmine.json",
"coverage": "nyc npm run test && nyc report --reporter=html",
"count": "find . -name '*.js' -not -path './node_modules/*' | xargs wc -l | sort -r",
"lint": "eslint ./"
"lint": "eslint ."
},
"dependencies": {
"xpath-to-css": "^1.1.0"
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const xPathToCss = require('xpath-to-css');

/**
* @param xPath - String which is a XPath
* @param {Array<string>} argv
* @return {string} - String which is a Selector (ex. in CSS, or jQuery)
*/
function x([xPath]) {
Expand Down

0 comments on commit c356345

Please sign in to comment.