Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
add audit workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed May 17, 2023
1 parent 4abbd62 commit d1548bd
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Audit
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'

jobs:

build:
name: Audit

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x

- name: npm install
run: npm install

- name: Build
run: npm run build

- name: Audit
run: npm audit --audit-level=moderate

0 comments on commit d1548bd

Please sign in to comment.