-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Dependabot and eslint workflows (#61)
* Add dependabot and eslint actions * Review comments * Review typos fixing
- Loading branch information
Showing
5 changed files
with
55 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
updates: | ||
- directory: "/" | ||
package-ecosystem: "github-actions" | ||
schedule: | ||
interval: "daily" | ||
- directory: "/cloudrun-malware-scanner" | ||
package-ecosystem: "npm" | ||
schedule: | ||
interval: "daily" | ||
- directory: "/cloudrun-malware-scanner" | ||
package-ecosystem: "docker" | ||
schedule: | ||
interval: "daily" | ||
version: 2 | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: "ESLint and NPM audit" | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
analyze: | ||
name: "Eslint-analyze" | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 21 | ||
check-latest: true | ||
|
||
# Install eslint | ||
- name: Install eslint | ||
working-directory: cloudrun-malware-scanner/ | ||
run: npm install | ||
|
||
- name: NPM Audit | ||
working-directory: cloudrun-malware-scanner/ | ||
run: npm audit | ||
|
||
- name: ESlint | ||
working-directory: cloudrun-malware-scanner/ | ||
run: npm run eslint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.