14 Commits

Author SHA1 Message Date
MichalKinas
3ca4a91389
[ACS-4539] Make ms-office as secondary point of aca-content ()
* [ACS-4539] Make ms-office as secondary point of aca-content

* [ACA-4539] Fix tsconfig path

* [ACS-4539] Run ms-office unit tests as part of aca-content
2023-05-10 09:43:51 +01:00
Denys Vuika
efda5d1461
[ACA-4646] Upgrade to Node 18 ()
* regenerate lock file

* switch gha to node 18

* fix dependencies for Node 18

* fix the ci/cd command invokation

* update readme

* fix run-e2e command

* fix artifact name for e2e test results
2023-05-05 16:37:51 +01:00
MichalKinas
5fa5ac4117
[ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin ()
* [ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin

* [ACA-4695] Improve eslint rules
2023-04-26 12:25:36 +02:00
swapnil-verma-gl
9148ccc6a9
[ACA-4679] Added code changes and env variables to enable DownloadPrompt and FileAutoDownload features on ACA ()
* [ACA-4679] Added docker variables, app.config.json.tpl config and additional code for enabling non-responsive file preview download and file auto download features in ACA

* [ACA-4679] Added defaults for downloadPrompt for viewer and fileAutoDownload features. Updated variable names from 'nonResponsiveDialog' to 'downloadPrompt'

* [ACA-4679] Added unit test cases for FileAutoDownloadService

* [ACA-4679] Updated env variable references from NonResponsiveDialog to DownloadPrompt

* [ACA-4679] Added missing licence header on new files

* [ACA-4679] Added env variable configuration for GithubActions jobs

* [ACA-4679] Added env variable configuration for GithubActions jobs

* [ACA-4679] Removed unneeded env variable configuration for GithubActions jobs

* [ACA-4679] Updated .env file configuration in README.md
2023-04-20 18:14:13 -04:00
MichalKinas
5f05499224
[ACA-4651] Fix build config in GHA () 2023-03-26 06:23:08 -04:00
Denys Vuika
c3b9886edf
cleanup GitHub actions ()
* cleanup GHA

* remove unused parameters

* consolidate actions, improve readability

* remove unused files

* restore fetch depth
2023-03-22 12:48:53 -04:00
Kristian Dimitrov
509bb5ee93
[ACS-4922] Fix Playwright e2es
* [ACS-4922] Fix Playwright e2es

* [ACS-4922] Try pointing to acadev instead of localhost

* [ACS-4922] Set Playwright env vars to secrets.PLAYWRIGHT_E2E_HOST
2023-03-22 11:56:00 -04:00
Denys Vuika
b939d1c582
[ACS-4792] provide support for style linting ()
* [ACS-4792] provide support for style linting

* style fixes

* style fixes

* style fixes

* disable yarn licenses until the issue is fixed

* fix package lock

* fix after rebase
2023-03-14 04:16:36 -04:00
Denys Vuika
c996d7d7d1
fix publishing upon PR merge ()
* fix publishing upon PR merge

* release alphas on push to develop

* do not run PR workflow on merges

* add pull request types
2023-03-13 06:18:28 -04:00
Denys Vuika
2ccf6cb238
[ACA-4668] cancel previous jobs in the workflow () 2023-03-10 04:25:00 -05:00
Denys Vuika
2a32fadb52 Revert "try fetch all branches"
This reverts commit fc985c91d19ac6bc323090d8946ec98c9f27982e.
2023-03-08 16:13:47 +00:00
Denys Vuika
fc985c91d1 try fetch all branches 2023-03-08 16:07:07 +00:00
MichalKinas
7bf6c8f137
[ACA-4666] Make finalize fail if any previous check fails () 2023-03-02 14:02:46 +01:00
MichalKinas
01f7e3c287
[ACA-4652] Run unit tests as one GH job, add e2es as GH job ()
* [ACA-4652] Run unit tests as one GH job, add e2es as GH job

* [ACA-4652] Fix yaml syntax

* [ACA-4652] Fix if syntax

* [ACA-4652] Correct syntax

* [ACA-4652] Correct syntax

* [ACA-4652] Each job must contain uses or run

* [ACA-4652] Migrate uploading/downloading build artifacts, migrate before install

* [ACA-4652] Fix bad substitution

* [ACA-4652] Fix string merging in bash

* [ACA-4652] Bash fix

* [ACA-4652] Install aws before downloading/uploading artifacts

* [ACA-4652] Add setup with aws config action

* [ACA-4652] Add aws-region

* [ACA-4652] Use aws default region

* [ACA-4652] Log github event

* [ACA-4652] Log workflow run

* [ACA-4652] Fix commit logging

* [ACA-4652] Use action to get current commit msg

* [ACA-4652] Add correct version of build tools

* [ACA-4652] Get commit msg from env

* [ACA-4652] Get commit msg in the same job

* [ACA-4652] Final commit msg test

* [ACA-4652] Fix logging

* [ACA-4652] Cleanup commit msg, correct s3 bucket

* [link-adf:AAE-12767] Test adf linking

* [link-adf:AAE-12767] Test adf linking finalize

* [link-adf:AAE-12767] Tweak finalize job

* [link-adf:AAE-12767] Get commit msg in before install

* [link-adf:AAE-12767] Add missing adfprod configs

* [ACA-4652] Migrate before and after e2e scripts to GHA

* [ACA-4652] Add before e2e logging

* [ACA-4652] Use new GH secrets

* [ACA-4652] Remove logs, add envsub

* [ACA-4652] Install envsub globally

* [ACA-4652] Log replaced config

* [ACA-4652] Add missing env variable

* [ACA-4652] Add e2e run as GH action

* [ACA-4652] Remove logging, fix download path

* [ACA-4652] Disable protractor smartrunner artifact

* [ACA-4652] Install webdriver-manager

* [ACA-4652] Disable failing download on Travis, npm ci in before e2e

* [ACA-4652] Missing shell

* [ACA-4652] Restore artifact download

* [ACA-4652] Download smartrunner artifact only when present

* [ACA-4652] Check run attempt

* [ACA-4652] Correct attempt check

* [ACA-4652] Stop running e2es in Travis for now

* [ACA-4652] Run Travis e2es again, add test suite id

* [ACA-4652] Add test suite id to after e2e action

* [ACA-4652] Remove additional install

* [ACA-4652] CR fixes, remove some Travis config that is already migrated

* [ACA-4652] Cleanup setup leftover

* [ACA-4652] Propagate aws credentials

* [ACA-4652] Fix aws default region

* [ACA-4652] Misspelled variable fix

* [ACA-4652] Propagate aws region

* [ACA-4652] Rename PR workflow

* [ACA-4652] Download artifact only if bucket exists

* [ACA-4652] Run test even is aws bucket doesn't exist

* [ACA-4652] Fix aws download error

* [ACA-4652] Check if file exists before downloading

* [ACA-4652] Remove uploading/downloading e2e artifact after successful run

* [ACA-4652] Add missing check to finalize stage
2023-03-02 03:35:13 -05:00