[release] v1.2.0 Add Support for Param Stores (#33) #372
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: KONG | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
KONG: | |
timeout-minutes: 6 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get KONG | |
run: | | |
git clone https://${{ secrets.KONG_FINE_GRAINED_REPO_PAT }}@github.com/statsig-io/kong.git | |
- uses: dart-lang/[email protected] | |
- name: Setup Dart Server | |
run: | | |
cd kong/bridges/dart-server | |
./pull-and-build-sdk.sh $GITHUB_REPOSITORY $GITHUB_HEAD_REF | |
dart pub get | |
env: | |
repo_pat: ${{ secrets.KONG_FINE_GRAINED_REPO_PAT }} | |
- name: Run Tests | |
run: | | |
cd kong | |
npm install | |
FORCE_COLOR=true npm run kong -- test dart -w -r | |
env: | |
test_api_key: ${{ secrets.KONG_SERVER_SDK_KEY }} | |
test_client_key: ${{ secrets.KONG_CLIENT_SDK_KEY }} |