TypeScript x InvisiRisk #48
This file contains hidden or 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
| 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" | |