Skip to content

fix: disable metro clear #5

fix: disable metro clear

fix: disable metro clear #5

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
jobs:
# Build job
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
- name: Install dependencies
run: npm install
# - name: Clear Metro Cache
# run: npx expo start --clear
- name: Check Expo Version
run: npx expo doctor
- name: Build project
run: npm run build:web
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./dist
# Deploy job
deploy:
name: Deploy
needs: build
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1