From bdff71500fabb3444d47281634e2cb348ee0e17f Mon Sep 17 00:00:00 2001 From: Dan Bond Date: Wed, 5 Apr 2023 15:42:36 -0700 Subject: [PATCH] ci: fixes missing deps in frontend gha workflows (#16872) Signed-off-by: Dan Bond --- .github/workflows/frontend.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index e7d9e38551..094d86ad55 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -41,6 +41,9 @@ jobs: with: node-version: '16' + - name: Install Yarn + run: npm install -g yarn + # Install dependencies. - name: install yarn packages working-directory: ui @@ -58,6 +61,9 @@ jobs: with: node-version: '16' + - name: Install Yarn + run: npm install -g yarn + # Install dependencies. - name: install yarn packages working-directory: ui @@ -68,11 +74,11 @@ jobs: ember-build-test: needs: setup - runs-on: ${{ fromJSON(needs.setup.outputs.compute-large) }} + runs-on: ${{ fromJSON(needs.setup.outputs.compute-xl) }} env: - EMBER_TEST_REPORT: test-results/report-oss.xml #outputs test report for CircleCI test summary - EMBER_TEST_PARALLEL: true #enables test parallelization with ember-exam - CONSUL_NSPACES_ENABLED: 0 # NOTE: this should be 1 in ENT. + EMBER_TEST_REPORT: test-results/report-oss.xml # outputs test report for CircleCI test summary + EMBER_TEST_PARALLEL: true # enables test parallelization with ember-exam + CONSUL_NSPACES_ENABLED: ${{ endsWith(github.repository, '-enterprise') && 1 || 0 }} # NOTE: this should be 1 in ENT. steps: - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # pin@v3.3.0 @@ -80,6 +86,12 @@ jobs: with: node-version: '16' + - name: Install Yarn + run: npm install -g yarn + + - name: Install Chrome + uses: browser-actions/setup-chrome@29abc1a83d1d71557708563b4bc962d0f983a376 # pin@v1.2.1 + # Install dependencies. - name: install yarn packages working-directory: ui