chore: Add branch input parameter to Frontend Tests workflow
This commit is contained in:
parent
8eae1cd8a8
commit
224d447f6b
1 changed files with 8 additions and 2 deletions
10
.github/workflows/typescript_test.yml
vendored
10
.github/workflows/typescript_test.yml
vendored
|
|
@ -1,6 +1,12 @@
|
||||||
name: Run Frontend Tests
|
name: Run Frontend Tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
branch:
|
||||||
|
description: "Branch to run tests on"
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
pull_request:
|
pull_request:
|
||||||
merge_group:
|
merge_group:
|
||||||
|
|
||||||
|
|
@ -19,8 +25,8 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
shardIndex: [1, 2, 3, 4, 5, 6, 7, 8]
|
shardIndex: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
||||||
shardTotal: [8]
|
shardTotal: [10]
|
||||||
env:
|
env:
|
||||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||||
STORE_API_KEY: ${{ secrets.STORE_API_KEY }}
|
STORE_API_KEY: ${{ secrets.STORE_API_KEY }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue