Skip to content

Refactor / move entitlement logic to entitlement controller #1438

Refactor / move entitlement logic to entitlement controller

Refactor / move entitlement logic to entitlement controller #1438

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