mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
<!-- Make sure you've read the CONTRIBUTING.md guidelines: https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Improvements** * Added automatic retry with stricter result validation and clearer error handling for query profiling to improve reliability. * **Chores** * CI workflows updated to use larger runner instances (upgraded runner size across relevant jobs). <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
47 lines
990 B
YAML
47 lines
990 B
YAML
name: "Run setup tests"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- dev
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }}
|
|
|
|
env:
|
|
SHELL: /usr/bin/bash
|
|
|
|
jobs:
|
|
setup-tests:
|
|
runs-on: ubicloud-standard-16
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Setup Node.js v20
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: 20
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v4
|
|
|
|
- name: Install packages
|
|
run: pnpm install
|
|
|
|
- run: pnpm run build:packages
|
|
- run: pnpm run codegen
|
|
- run: pnpm run start-deps
|
|
|
|
- uses: JarvusInnovations/background-action@v1.0.7
|
|
with:
|
|
run: pnpm run dev &
|
|
wait-on: |
|
|
http://localhost:8102
|
|
tail: true
|
|
wait-for: 120s
|
|
log-output-if: true
|
|
- run: pnpm run test --reporter=verbose
|