Skip to content

Commit

Permalink
ci: Update eslint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alahyaoui committed Jan 19, 2024
1 parent 184dbfd commit f5237b9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ on:
branches: [ "main", "quality", "development", "draft" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '19 19 * * 3'
branches: [ "main", "quality", "development", "draft" ]

jobs:
eslint:
Expand All @@ -26,14 +24,17 @@ jobs:
contents: read
security-events: write
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
strategy:
matrix:
node-version: [18]
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install ESLint
run: |
npm install [email protected]
npm install @microsoft/[email protected]
npm install [email protected] --save-dev
npm install @microsoft/[email protected] --save-dev
- name: Run ESLint
run: npx eslint .
Expand Down

0 comments on commit f5237b9

Please sign in to comment.