dependency tree python #21
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: Node.js CI | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [18.x] | |
| steps: | |
| # ============= InvisiRisk Setup ============= | |
| - name: Setup PSE | |
| uses: invisirisk/pse-action@latest | |
| with: | |
| api_url: "https://app.invisirisk.com" | |
| app_token: ${{secrets.IR_API_KEY}} | |
| # ============= InvisiRisk Setup End ============= | |
| # Checkout repository | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| # Setup Node.js | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'npm' | |
| # Install dependencies | |
| - name: Install dependencies | |
| run: npm install | |
| # Build project | |
| - name: Build | |
| run: npm run build | |
| # ============= InvisiRisk Cleanup ============= | |
| - name: Cleanup PSE | |
| if: always() | |
| uses: invisirisk/pse-action@latest | |
| with: | |
| cleanup: "true" | |
| # ============= InvisiRisk Cleanup End ============= |