adjust cover v2 #24
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
name: CI/CD | |
on: | |
push: | |
branches: | |
- develop | |
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: 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 | |
token: ${{ secrets.EAS_EXPO_TOKEN_TEST }} | |
- name: Install dependencies again | |
run: npm install --legacy-peer-deps | |
- name: Build | |
run: eas build --platform android --profile preview --non-interactive --no-wait | |