add pentest

This commit is contained in:
silas-x 2023-01-26 14:59:42 +00:00
parent a103ec71e3
commit ec3fbcec5b
1 changed files with 27 additions and 0 deletions

View File

@ -38,6 +38,33 @@ jobs:
env:
SEMGREP_RULES: p/typescript
dast:
name: Pentest
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install dependencies
run: yarn ci
- name: Build
run: yarn build
- name: Run
run: yarn start
- name: Run pentest
uses: PortSwigger/dastardly-github-action@main
with:
target-url: 'http://localhost:3000'
sca:
name: Dependency Scan
runs-on: ubuntu-latest