diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml new file mode 100644 index 0000000..50bbf2d --- /dev/null +++ b/.github/codeql/codeql-config.yml @@ -0,0 +1,3 @@ +paths-ignore: + - node_modules + - dist/sourcemap** \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9103b45..2afb694 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,6 +45,7 @@ jobs: - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: + config-file: .github/codeql/codeql-config.yml languages: 'javascript' - name: Autobuild diff --git a/package.json b/package.json index 25d402d..16f5fd6 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,6 @@ "@actions/core": "^1.11.1", "@actions/github": "^5.1.1", "isomorphic-fetch": "^3.0.0", - "jest-environment-jsdom": "^29.7.0", "uuid": "^10.0.0" }, "devDependencies": { @@ -51,6 +50,7 @@ "eslint-plugin-github": "^4.10.2", "eslint-plugin-jest": "^26.9.0", "jest": "^29.0.0", + "jest-environment-jsdom": "^29.7.0", "jest-jasmine2": "^29.0.0", "js-yaml": "^4.1.0", "prettier": "^2.8.8",