[CP-3128] Cancel action handling for closing terminal information has… #1790
Workflow file for this run
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: e2e on Linux for feature branch | |
on: | |
push: | |
branches: | |
- CP-* | |
jobs: | |
e2e: | |
runs-on: ubuntu-latest | |
environment: development | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.16.1 | |
- name: Setup environment variables | |
env: | |
E2ECI: "true" | |
TEST_GITHUB_TOKEN: ${{ secrets.MC_GITHUB_ACCESS_TOKEN }} | |
TEST_BINARY_PATH: "../mudita-center/release/linux-unpacked/Mudita Center" | |
PHRASE_API_KEY: ${{ secrets.PHRASE_API_KEY }} | |
PHRASE_API_URL: ${{ secrets.PHRASE_API_URL }} | |
PHRASE_API_KEY_DEV: ${{ secrets.PHRASE_API_KEY_DEV }} | |
MUDITA_CENTER_SERVER_URL: ${{ secrets.MUDITA_CENTER_SERVER_URL }} | |
MUDITA_CENTER_SERVER_V2_URL: ${{ secrets.MUDITA_CENTER_SERVER_V2_URL }} | |
ROLLBAR_TOKEN: ${{ secrets.ROLLBAR_TOKEN }} | |
RELEASES_REPOSITORY_NAME: ${{ secrets.RELEASES_REPOSITORY_NAME }} | |
PRERELEASES_ENABLED: ${{ secrets.PRERELEASES_ENABLED }} | |
GITHUB_ACCESS_TOKEN: ${{ secrets.MC_GITHUB_ACCESS_TOKEN }} | |
LOGIN_MICROSOFT_ONLINE_CLIENT_ID: ${{ secrets.LOGIN_MICROSOFT_ONLINE_CLIENT_ID }} | |
FONTS_DIRECTORY_URL: ${{ secrets.FONTS_DIRECTORY_URL }} | |
FRESHDESK_API_URL: ${{ secrets.FRESHDESK_API_URL }} | |
FRESHDESK_API_TOKEN: ${{ secrets.FRESHDESK_API_TOKEN }} | |
ANALYTICS_ENABLED: ${{ secrets.ANALYTICS_ENABLED }} | |
ANALYTICS_API_URL: ${{ secrets.ANALYTICS_API_URL }} | |
ANALYTICS_API_SITE_ID: ${{ secrets.ANALYTICS_API_SITE_ID }} | |
FEATURE_TOGGLE_ENVIRONMENT: ${{ secrets.FEATURE_TOGGLE_ENVIRONMENT }} | |
STATIC_CONFIGURATION_FILE_PATH: ${{ secrets.STATIC_CONFIGURATION_FILE_PATH }} | |
DEV_REDUX_LOGGER_ENABLED: ${{ secrets.DEV_REDUX_LOGGER_ENABLED }} | |
DEV_DEVICE_LOGGER_ENABLED: ${{ secrets.DEV_DEVICE_LOGGER_ENABLED }} | |
FEATURE_TOGGLE_RELEASE_ENVIRONMENT: ${{ secrets.FEATURE_TOGGLE_RELEASE_ENVIRONMENT }} | |
MUDITA_CENTER_PRERELEASE_ENABLED: ${{ secrets.MUDITA_CENTER_PRERELEASE_ENABLED }} | |
MOCK_SERVICE_ENABLED: ${{ secrets.MOCK_SERVICE_ENABLED }} | |
run: | | |
printenv > .env | |
- name: Setup dependencies | |
run: npm run setup | |
- name: Build App | |
run: | | |
export NODE_OPTIONS="--max-old-space-size=4096" | |
npm run app:dist | |
- name: Run E2E tests headless with Xvfb | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y xvfb | |
npm run e2e:test:cicd:standalone |