JS x Dependency #9
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: JS x Dependency | |
| on: | |
| workflow_dispatch: | |
| permissions: | |
| checks: write | |
| contents: write | |
| packages: read | |
| actions: write | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| name: Build Angular Project and Run PSE | |
| steps: | |
| # Checkout repository | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| # Setup Node.js | |
| - name: Use Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: "22.11.0" | |
| # Setup PSE | |
| - name: Setup PSE | |
| uses: invisirisk/pse-action@latest | |
| with: | |
| # api_url: "https://app.stage.invisirisk.com" | |
| app_token: ${{ secrets.IR_API_KEY_JS }} | |
| # Install project dependencies | |
| - name: Install dependencies | |
| run: npm install --legacy-peer-deps | |
| # Cleanup PSE | |
| - name: Cleanup PSE | |
| if: always() | |
| uses: invisirisk/pse-action@latest | |
| with: | |
| cleanup: "true" |