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

Is it possible to skip wrangler install? #259

Closed
zoubingwu opened this issue May 1, 2024 · 1 comment
Closed

Is it possible to skip wrangler install? #259

zoubingwu opened this issue May 1, 2024 · 1 comment

Comments

@zoubingwu
Copy link

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?

@AdiRishi
Copy link
Contributor

AdiRishi commented May 6, 2024

We're working on this in the PR I linked above. You can probably close this issue, it's a duplicate of #199

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

No branches or pull requests

2 participants