Skip to content

Commit 191af74

Browse files
committed
Update eslint.yml workflow with TODO comments.
Update README.md
1 parent f3ae180 commit 191af74

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/workflows/eslint.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
2626
sudo apt-get install yarn -y
2727
yarn --version
28-
yarn install && npx eslint webserver.js
28+
yarn install && yarn audit && npx eslint webserver.js
2929
printf "\n[INFO] - Done running eslint checks but with "new-cap" rule disabled, exiting ..."
30-
# TODO: Chore: Add a stage to run yarn audit before installing packages.
31-
# TODO: Chore: Add Snyk dependency scanning locally + repo.
30+
# TODO: Chore: Add a step to use the $SNYK_TOKEN env var for the GitHub workflow.
31+
# TODO: Chore: Snyk allows for installation via the yarn.lock and then auth via the env var.
32+
# TODO: Feature: Consider having a separate step to scan with Snyk, and display an updated summary of security etc.
33+
# TODO: Feature: Add support for FOSSA scanning and displaying the data on README.md
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# node-express-server
2+
A simple node.js webserver with basic API functionality, written in pure JavaScript.
3+
Dependencies:
4+
- yarn version: 1.22.19
5+
- npm version: 8.15.0
6+
- node.js version: v16.17.0 LTS
7+
- ECMA version: `latest`, other information present in `.eslintrc.json`
8+
9+
Makes use of Snyk for IaC and Security scanning.

0 commit comments

Comments
 (0)