Skip to content

Is it possible to skip wrangler install? #259

@zoubingwu

Description

@zoubingwu

Looks like there is no way to skip the wrangler installations.

I already have it in package.json and all dependencies will be installed before deploy:

{
    "devDependencies": {
		"wrangler": "3.53.0"
	}
}
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
  with:
    version: 8
- uses: actions/setup-node@v4
  with:
    node-version: 'lts/Iron'
    cache: 'pnpm'
- name: Install dependencies
  run: pnpm install
- name: Deploy
  uses: cloudflare/wrangler-action@v3
  with:
      apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
      accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

But it installed another old version

image

Is there any way to skip it from installing twice?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions