[Bug] handle null state for SkillLevel on screening decision dialog #15561
Workflow file for this run
This file contains 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: Lint | |
on: | |
push: | |
branches: [main] | |
paths: | |
- .github/workflows/*lint*.yml | |
- apps/** | |
- packages/** | |
- api/** | |
pull_request: | |
paths: | |
- .github/workflows/*lint*.yml | |
- apps/** | |
- packages/** | |
- api/** | |
merge_group: | |
branches: [main] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-22.04 | |
env: | |
PNPM_VERSION: "8.15.0" | |
services: | |
postgres: | |
image: postgres:12.15 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: password1234 | |
POSTGRES_DB: gctalent | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Add postgres extension pgcrypto # not included with postgres 12 | |
run: docker run --rm --network ${{ job.container.network }} postgres:12.15 sh -c "PGPASSWORD=password1234 exec psql -h postgres -d gctalent -p 5432 -U postgres -t -c 'CREATE EXTENSION IF NOT EXISTS pgcrypto';" | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: ${{ env.PNPM_VERSION }} | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: "./.nvmrc" | |
cache: pnpm | |
- name: "Install dependencies: workspace" | |
working-directory: ./ | |
run: pnpm install | |
- name: "Setup: all workspaces" | |
working-directory: ./ | |
run: pnpm run build | |
- name: "Run ESlint: all workspaces" | |
working-directory: ./ | |
# Pass arg to eslint so that any warnings will raise error code and fail workflow. | |
run: pnpm run lint -- --max-warnings=0 | |
- name: "Run typescript linting: all workspaces" | |
# Allow tsc linting to happen even if js linting step raises errors. | |
if: always() | |
working-directory: ./ | |
run: pnpm run tsc | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: "8.2" | |
extensions: bcmath | |
- name: Install composer dependencies | |
working-directory: api | |
run: | | |
cp .env.example .env | |
composer install --no-interaction --prefer-dist --optimize-autoloader | |
- name: Run Pint | |
working-directory: api | |
run: vendor/bin/pint --test |