File tree Expand file tree Collapse file tree 1 file changed +9
-14
lines changed
Expand file tree Collapse file tree 1 file changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -10,22 +10,17 @@ jobs:
1010 eslint :
1111 runs-on : ubuntu-22.04
1212 steps :
13- - name : clone-branch
14- run : |
15- git clone [email protected] :Defirence/javascript.git 16- pwd && ls -lash
17- - name : eslint
18- run : |
19- printf "Running eslint against webserver.js..."
20- # cd
21- sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get install curl -y
13+ # - name: clone-branch
14+ # run: |
15+ # git clone [email protected] :Defirence/javascript.git 16+ # pwd && ls -lash
17+ - name : Cache
18+ 19+ - name : eslint
20+ run : |
21+ sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get install curl -y
2222 curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
2323 echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
2424 sudo apt-get install yarn -y
2525 yarn --version
2626 yarn install && yarn audit && npx eslint webserver.js
27- printf "\n[INFO] - Done running eslint checks but with "new-cap" rule disabled, exiting ..."
28- # TODO: Chore: Add a step to use the $SNYK_TOKEN env var for the GitHub workflow.
29- # TODO: Chore: Snyk allows for installation via the yarn.lock and then auth via the env var.
30- # TODO: Feature: Consider having a separate step to scan with Snyk, and display an updated summary of security etc.
31- # TODO: Feature: Add support for FOSSA scanning and displaying the data on README.md
You can’t perform that action at this time.
0 commit comments