Skip to content

Commit

Permalink
lint in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Oct 3, 2024
1 parent 8171200 commit a9cc64f
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 9 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,20 @@ on:


jobs:
lint:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- run: npm install --ignore-scripts
- run: npm lint


unix:

runs-on: ${{ matrix.platforms }}
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"cwise": "^1.0.10",
"documentation-polyglot": "^1.0.1",
"eslint": "^8.56.0",
"eslint-plugin-array-func": "^5.0.1",
"eslint-plugin-array-func": "^4.0.0",
"eslint-plugin-mocha": "^10.2.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"gh-pages": "^6.1.1",
Expand Down
1 change: 1 addition & 0 deletions test/capi.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ describe('Expression C-API', () => {

const binding_path = path.dirname(binary.find(path.resolve(path.join(__dirname, '../package.json'))));
const test_addon_path = path.resolve(binding_path, 'exprtk.js-test.node');
// eslint-disable-next-line @typescript-eslint/no-require-imports
testAddon = require(test_addon_path);
});

Expand Down

0 comments on commit a9cc64f

Please sign in to comment.