Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/npm-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: NPM Audit

on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]

permissions:
contents: read

jobs:
frontend-audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22.22.2'
- name: Audit frontend dependencies
working-directory: src/main/webui
run: npm audit
3 changes: 0 additions & 3 deletions .github/workflows/npm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ jobs:
- name: Install frontend dependencies
working-directory: src/main/webui
run: npm ci
- name: Audit frontend dependencies
working-directory: src/main/webui
run: npm audit
- name: Run frontend tests
working-directory: src/main/webui
run: npm test
Loading