[PRM-732] resolve more Dependabot issues #29
Workflow file for this run
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: "Z-AUTOMATED: Deploy Dashboard - Dev" | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "dashboard/**" | |
| - ".github/workflows/automated-deploy-dashboard-dev.yml" | |
| - ".github/workflows/deploy-dashboard-dev.yml" | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "dashboard/**" | |
| - ".github/workflows/automated-deploy-dashboard-dev.yml" | |
| - ".github/workflows/deploy-dashboard-dev.yml" | |
| permissions: | |
| pull-requests: write | |
| id-token: write | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./dashboard | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Use Node.js 24.x | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24.x | |
| cache: "npm" | |
| cache-dependency-path: dashboard/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run tests | |
| run: npm run test | |
| test-e2e: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./dashboard | |
| needs: test | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Use Node.js 24.x | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24.x | |
| cache: "npm" | |
| cache-dependency-path: dashboard/package-lock.json | |
| - name: Get stubs | |
| run: ./tasks get-stubs | |
| - name: Build for e2e | |
| run: npm run build:ci | |
| - name: Run E2E tests | |
| run: ./tasks canary-test-e2e | |
| build-and-publish-ui: | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| uses: ./.github/workflows/deploy-dashboard-dev.yml | |
| secrets: inherit |