Skip to content

Commit

Permalink
ci: fixes missing deps in frontend gha workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Bond <danbond@protonmail.com>
  • Loading branch information
loshz committed Apr 3, 2023
1 parent f6de5ff commit dd0216a
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -68,18 +74,24 @@ 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

- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # pin@v3.6.0
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
Expand Down

0 comments on commit dd0216a

Please sign in to comment.