Implement Platform Engineer UX enhancements for OpenChoreo entities #343
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: PR Builder | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'LICENSE' | |
| workflow_dispatch: | |
| # Avoid running multiple builds for the same PR. | |
| concurrency: | |
| group: pr-builder-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: PR Build | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [22] | |
| yarn-version: [latest] | |
| steps: | |
| - name: Checkout | |
| id: checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup node | |
| id: setup-node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'yarn' | |
| - name: Install Dependencies | |
| id: install-dependencies | |
| run: yarn install --immutable | |
| - name: Security Audit | |
| run: yarn npm audit --environment production --severity high | |
| - name: Check Type Errors | |
| run: yarn tsc | |
| - name: Build Project | |
| id: build | |
| run: yarn build:all | |
| - name: Lint Files | |
| id: lint-files | |
| run: yarn lint:all | |
| - name: Check Prettier | |
| id: check-prettier | |
| run: yarn prettier --check . |