ci: add PR smoke and provider test checks
This commit is contained in:
37
.github/workflows/pr-checks.yml
vendored
Normal file
37
.github/workflows/pr-checks.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user