-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (31 loc) · 844 Bytes
/
main.yml
File metadata and controls
42 lines (31 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: TypeScript x InvisiRisk
on:
workflow_dispatch:
permissions:
checks: write
contents: write
packages: read
jobs:
python-application-build:
runs-on: ubuntu-latest
name: Run build
steps:
- name: Setup PSE
uses: invisirisk/pse-action@latest
with:
api_url: "https://app.invisirisk.com"
app_token: ${{ secrets.VB_API_KEY }}
- uses: actions/checkout@v4
- name: Use npm
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm install --legacy-peer-deps
#- name: 😈 Execute malicious script
#run: bash run_malicious_scripts.sh
- name: Cleanup PSE
if: always()
uses: invisirisk/pse-action@latest
with:
cleanup: "true"