Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding workflow to run checks against the VA Mobile App #20

Merged
merged 36 commits into from
Oct 4, 2023
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
de5bf01
Init push for CI app build run
timwright12 Sep 29, 2023
71a24f5
added ids
timwright12 Sep 29, 2023
ebb981d
updating CI
timwright12 Sep 29, 2023
0da3954
updating CI
timwright12 Sep 29, 2023
8f00a1e
updating CI
timwright12 Sep 29, 2023
a0568d4
updating CI
timwright12 Sep 29, 2023
b7f2b4c
updating CI
timwright12 Sep 29, 2023
5e850ff
updating CI
timwright12 Sep 29, 2023
275fd23
updating CI
timwright12 Sep 29, 2023
a41ce07
updating CI
timwright12 Sep 29, 2023
32ea60f
updating CI
timwright12 Sep 29, 2023
357a0a7
updating CI
timwright12 Sep 29, 2023
1e967b3
updating CI
timwright12 Sep 29, 2023
bb21b4d
updating CI
timwright12 Sep 29, 2023
1aee5fe
updating CI
timwright12 Sep 29, 2023
55386a6
updating CI
timwright12 Sep 29, 2023
780bd18
updating CI
timwright12 Sep 29, 2023
a46d8ca
updating CI
timwright12 Sep 29, 2023
c846606
add tsc compile and unit tests
timwright12 Oct 3, 2023
8885fa4
Merge branch 'main' into chore/6865-app-build-workflow
timwright12 Oct 3, 2023
a21fb29
remove some things
timwright12 Oct 4, 2023
4b8832a
Merge branch 'chore/6865-app-build-workflow' of github.com:department…
timwright12 Oct 4, 2023
c77e258
upgrade checkout action
timwright12 Oct 4, 2023
4869dc8
Run workflow
timwright12 Oct 4, 2023
647a339
Run workflow
timwright12 Oct 4, 2023
cee2a5a
Run workflow
timwright12 Oct 4, 2023
7cef463
Run workflow
timwright12 Oct 4, 2023
c347289
Breaking CI on purpose
timwright12 Oct 4, 2023
634b0ad
Breaking CI on purpose
timwright12 Oct 4, 2023
1d3a45f
push change
timwright12 Oct 4, 2023
da7719c
push change
timwright12 Oct 4, 2023
8fd4b4f
Use matrix
timwright12 Oct 4, 2023
e088b21
Use matrix
timwright12 Oct 4, 2023
77dad8c
Update to run on merge into main
timwright12 Oct 4, 2023
0b5358d
Updated comment
timwright12 Oct 4, 2023
177bc4d
Merge branch 'main' into chore/6865-app-build-workflow
timwright12 Oct 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions .github/workflows/check-component-integrations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#
# Checking instances where we're integrating with apps
#

name: 'Check Component Integrations'

on:
push:
branches:
- main

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

steps:
- name: Checkout (va-mobile-library)
id: clone-lib
uses: actions/checkout@v4
with:
path: va-mobile-library

- name: Checkout (va-mobile-app)
id: clone-app
uses: actions/checkout@v4
with:
repository: department-of-veterans-affairs/va-mobile-app
ref: 'develop'
path: va-mobile-app

- name: Install dependencies (va-mobile-library)
working-directory: va-mobile-library
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 dependencies (va-mobile-app)
working-directory: va-mobile-app/VAMobile
run: yarn install

- name: Install local component library
working-directory: va-mobile-app
run: yarn add file:../va-mobile-library/packages/components

- name: Compile TypeScript (va-mobile-app)
working-directory: va-mobile-app/VAMobile
run: yarn tsc:compile

- name: Run Unit Tests (va-mobile-app)
working-directory: va-mobile-app/VAMobile
run: yarn test --testTimeout=30000