Skip to content

ad v5

ad v5 #8

Workflow file for this run

name: CI/CD
on:
push:
branches:
- step-9-ci-cd
jobs:
CI:
name: Continuous Integration
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Install Expo CLI
run: npm install -g expo-cli
- name: Install Expo Font
run: expo install expo-font
- name: Install Google Font Karla
run: npm install @expo-google-fonts/karla
- name: Run Tests
run: npm test
CD:
name: Continuous Delivery
runs-on: ubuntu-latest
needs: CI
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
packager: npm
token: ${{ secrets.EAS_EXPO_TOKEN_TEST }}
- name: Build
run: eas build --platform android --profile preview --non-interactive --no-wait