Skip to content

Commit 60ad01f

Browse files
committed
Updated ci workflow
1 parent a874907 commit 60ad01f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Main
22

33
on:
4-
push:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
56
branches:
67
- develop
78
- main
@@ -17,7 +18,9 @@ jobs:
1718
- uses: actions/setup-node@v3
1819
with:
1920
node-version: 18.x
21+
22+
- name: Install Dependencies
23+
run: npm install
24+
2025
- name: Run eslint
21-
run:
22-
npm ci
23-
npm run lint
26+
run: npm run lint

0 commit comments

Comments
 (0)