fix: access bridge flaky tests (#627) #726
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: Test - Unit, Integration, Snapshot | |
on: | |
push: | |
branches: ['develop', 'release'] | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: yarn install and test | |
run: | | |
yarn | |
yarn test | |
env: | |
CI: true | |
# Dummy environment variables for testing the access-bridge service | |
APP_SITE_ID: test1234 | |
APP_API_SECRET: dummy_secret | |
APP_STRIPE_SECRET: dummy_stripe_secret | |
APP_BIND_ADDR: localhost | |
APP_BIND_PORT: 3001 | |
APP_ACCESS_CONTROL_API_HOST: https://test-cdn.jwplayer.com | |
APP_SIMS_API_HOST: https://test-sims.jwplayer.com |