Skip to content

Commit 4ba5081

Browse files
committed
Update eslint.yml action.
1 parent 4df1ce2 commit 4ba5081

File tree

2 files changed

+3
-35
lines changed

2 files changed

+3
-35
lines changed

.github/workflows/eslint.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ on:
77
name: eslint
88

99
jobs:
10-
pylint:
10+
eslint:
1111
runs-on: ubuntu-22.04
1212
steps:
1313
- name: clone-branch
1414
run: |
15-
git clone -b dev https://github.com/Defirence/javascript.git
15+
git clone https://github.com/Defirence/javascript.git
1616
printf "List files and cd into repo dir on runner..."
1717
cd boiler-plate/node-express-server
1818
ls -lah
@@ -26,6 +26,5 @@ jobs:
2626
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
2727
sudo apt-get install yarn -y
2828
yarn --version
29-
yarn install
30-
npx eslint webserver.js
29+
yarn install && npx eslint webserver.js
3130
printf "Done running pylint checks, exiting ..."

boiler-plate/node-express-server/.github/workflows/eslint.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)