Skip to content

Commit

Permalink
.github: configure codeql
Browse files Browse the repository at this point in the history
  • Loading branch information
narekhovhannisyan committed Aug 26, 2024
1 parent f24a304 commit b57bcfe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
paths:
- 'src'
paths-ignore:
- '**/*.test.js'
- '**/*.test.ts'
- '**/*.test.tsx'
- '**/__tests__/**'
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ on: push
jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- uses: github/codeql-action/init@v3
with:
config-file: ./.github/codeql/codeql-config.yml
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn test

0 comments on commit b57bcfe

Please sign in to comment.