Skip to content

Commit

Permalink
Use matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
timwright12 committed Oct 4, 2023
1 parent da7719c commit 8fd4b4f
Showing 1 changed file with 22 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,24 @@

name: 'Check Component Integrations'

on: push
on:
push:
# branches:
# - main

jobs:
check-integration:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
directory: [
va-mobile-library,
va-mobile-library/packages/tokens,
va-mobile-library/packages/components
]

steps:
- name: Checkout (va-mobile-library)
id: clone-lib
Expand All @@ -24,17 +37,17 @@ jobs:
ref: 'develop'
path: va-mobile-app

- name: Install global dependencies (va-mobile-library)
working-directory: va-mobile-library
- name: Install dependencies (${{ matrix.directory }})
working-directory: ${{ matrix.directory }}
run: yarn install --immutable

- name: Install token dependencies (va-mobile-library)
working-directory: va-mobile-library/packages/tokens
run: yarn install --immutable
# - name: Install token dependencies (va-mobile-library)
# working-directory: va-mobile-library/packages/tokens
# run: yarn install --immutable

- name: Install component dependencies (va-mobile-library)
working-directory: va-mobile-library/packages/components
run: yarn install --immutable
# - name: Install component dependencies (va-mobile-library)
# working-directory: va-mobile-library/packages/components
# run: yarn install --immutable

- name: Install dependencies (va-mobile-app)
working-directory: va-mobile-app/VAMobile
Expand Down

0 comments on commit 8fd4b4f

Please sign in to comment.