We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'EAS build' fails when run via github action. 'EAS build' succeeds when run via local terminal.
What steps did you perform which led to this issue?
name: EAS Build on Push to Main on: push: jobs: build: runs-on: ubuntu-latest steps: - name: 🏗 Setup repo uses: actions/checkout@v3 - name: Log working directory after checkout run: pwd - name: 🏗 Setup Node uses: actions/setup-node@v3 with: node-version: '20' cache: 'npm' cache-dependency-path: client/package-lock.json - name: Log working directory after setup Node run: pwd - name: 🏗 Setup EAS uses: expo/expo-github-action@v8 with: eas-version: latest token: ${{ secrets.EXPO_TOKEN }} - name: 📦 Install dependencies run: npm install working-directory: client - name: Log working directory after install dependencies run: pwd working-directory: client - name: 🚀 Build app run: eas build -p android -e test working-directory: client - name: Log working directory after build run: pwd working-directory: client
EAS build is successful. If I execute eas build from my local terminal on the same commit, the build is successful.
Build is not successful.
I suspect the issue may relate to my folder structure.
Relevant folders from my root are: .github/workflows .git/ /client/ /server/
Package-lock.json is here: /client/package-lock.json
Working directory logs from expo (screenshot is from github action executing eas build):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description of the bug
'EAS build' fails when run via github action.
'EAS build' succeeds when run via local terminal.
To Reproduce
What steps did you perform which led to this issue?
Expected behavior
EAS build is successful.
If I execute eas build from my local terminal on the same commit, the build is successful.
Actual behavior
Build is not successful.
Additional context
I suspect the issue may relate to my folder structure.
Relevant folders from my root are:
.github/workflows
.git/
/client/
/server/
Package-lock.json is here:
/client/package-lock.json
Working directory logs from expo (screenshot is from github action executing eas build):
The text was updated successfully, but these errors were encountered: