Skip to content
New issue

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

continuous-deploy-fingerprint error: The process '/usr/local/bin/npx' failed with exit code 1 #296

Closed
yannikreiter-maxworx opened this issue Jul 24, 2024 · 2 comments
Assignees

Comments

@yannikreiter-maxworx
Copy link

Description of the bug

Using the continous-deploy-fingerprint sub action as described in the sample workflow causes the following error:
Error: Could not get fingerprint for project: Error: The process '/usr/local/bin/npx' failed with exit code 1

To Reproduce

  1. Create GitHub Actions workflow based on the sample
  2. Create pull request

Expected behavior

Based on the fingerprint, either an update is published or new build is started.

Actual behavior

The "Continuously Deploy" step fails.

Additional context

This is my YAML file, slightly altered from the sample:

  • Use staging branch instead of main
  • Remove test job
  • Use npm instead of yarn
  • Use development-preview as profile and branch
on:
  push:
    branches:
      - staging
  pull_request:
    types: [opened, synchronize]

env:
  EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}

jobs:
  continuously-deploy:
    runs-on: ubuntu-latest
    concurrency: continuous-deploy-fingerprint-${{ github.event_name != 'pull_request' && 'staging' || github.run_id }}
    permissions:
      contents: read # Allow checkout
      pull-requests: write # Allow comments on PRs
    steps:
      - name: 🏗 Setup repo
        uses: actions/checkout@v4

      - name: 🏗 Setup Node
        uses: actions/setup-node@v3
        with:
          node-version: 18.x

      - name: 📦 Install dependencies
        run: npm install

      - name: 🏗 Setup EAS
        uses: expo/expo-github-action@main
        with:
          eas-version: latest
          packager: npm
          token: ${{ secrets.EXPO_TOKEN }}

      - name: Continuously Deploy
        uses: expo/expo-github-action/continuous-deploy-fingerprint@main
        with:
          profile: development-preview
          branch: development-preview
@wschurman wschurman self-assigned this Sep 18, 2024
@wschurman
Copy link
Member

@yannikreiter-maxworx - can you provide a set of commands/instructions to create an expo project that this occurs in?

@wschurman
Copy link
Member

Tried to repro with a basic project and couldn't find the repro. If you have a project repro that this occurs on, definitely open a new issue with the instructions. Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants