Write a GitHub Actions workflow file at /app/.github/workflows/main.yml matching the structural specification below. The verifier runs yamllint on your file and then compares its structure against a hidden reference workflow. You pass when the YAML parses cleanly and your workflow covers the reference's jobs and actions (thresholds: ≥ 70% of reference job names present, ≥ 50% of reference actions referenced; or, for single-job references, ≥ 50% of reference actions in any one of your jobs).
Workflow spec
Workflow name: Node.js Package
Triggers: pull_request, push
Required jobs
test (runs-on: ubuntu-latest)
uses actions/checkout
uses actions/setup-node
runs npm ci
runs npm i sqlite3
MySQL client and server check — runs mysql --version &&
PostgreSQL client and server check — runs psql --version &&