Skip to content

Commit 997e4e1

Browse files
committed
ci: remove install versions in ci scripts
1 parent 83fe720 commit 997e4e1

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/eslint.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,8 @@ jobs:
2828
- name: Checkout code
2929
uses: actions/checkout@v4
3030

31-
- name: Install ESLint
32-
run: |
33-
npm install eslint@8.10.0
34-
npm install @microsoft/eslint-formatter-sarif@2.1.7
35-
npm install eslint-config-prettier@8.8.0
31+
- name: Install Dependencies
32+
run: npm install
3633

3734
- name: Run ESLint
3835
run: "npm run lint:sarif"

.github/workflows/prettier.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
- name: Checkout code
1818
uses: actions/checkout@v4
1919

20-
- name: Install prettier
21-
run: npm install prettier@3.0.0
20+
- name: Install Dependencies
21+
run: npm install
2222

2323
- name: Run prettier
2424
run: npm run format:check

0 commit comments

Comments
 (0)