Skip to content

Documentation contains incorrect example of CI/CD Github Action with cloudflare/wrangler-action@v3 #408

@mturczyn

Description

@mturczyn

In docs, for example here, it is worth mentioning that we need additional steps before cloudflare/wrangler-action@v3 task - install and build tasks:

- uses: actions/checkout@v4
- run: npm ci
- run: npm run build
- name: Deploy Cloudflare Workers
  uses: cloudflare/wrangler-action@v3
  with:
      apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
      accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

Without npm ci and npm run build I faced error

The entry-point file at "@tanstack/react-start/server-entry" was not found.

Reference: my comment in related Github issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions