Skip to content

Commit

Permalink
Add initial Github Actions CI workflow for Medical App
Browse files Browse the repository at this point in the history
  • Loading branch information
23nosurrend committed Apr 30, 2024
1 parent a4ddb1d commit 1b78652
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ci-workflow.yml
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

0 comments on commit 1b78652

Please sign in to comment.