-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial Github Actions CI workflow for Medical App
- Loading branch information
1 parent
a4ddb1d
commit 1b78652
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: medical CI | ||
|
||
on: | ||
push: | ||
|
||
pull_request: | ||
branches: [ develop ] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Run a one-line script | ||
run: echo Hello from medical app | ||
|
||
- name: setup Node js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '>=18' | ||
|
||
- name: install dependencies | ||
run: npm install | ||
|
||
- name: Run test | ||
run: npm run test | ||
|
||
- name: Start Expo for Android | ||
run: npm run android | ||
# Optionally starts the Expo project for Android (useful for automated testing environments) | ||
|
||
- name: Start Expo for iOS | ||
run: npm run ios | ||
# Optionally starts the Expo project for iOS (useful for automated testing environments) | ||
|
||
- name: Start Expo for Web | ||
run: npm run web | ||
#Optionally starts the expo project on web |