ci: add PR smoke and provider test checks

This commit is contained in:
Vasanthdev2004
2026-04-02 00:00:12 +05:30
parent 3491dc3cba
commit 9951da5397
2 changed files with 38 additions and 1 deletions

37
.github/workflows/pr-checks.yml vendored Normal file
View File

@@ -0,0 +1,37 @@
name: PR Checks
on:
pull_request:
push:
branches:
- main
jobs:
smoke-and-tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.11
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Smoke check
run: bun run smoke
- name: Provider tests
run: bun run test:provider
- name: Provider recommendation tests
run: npm run test:provider-recommendation