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
Is there any way to skip it from installing twice?
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" } }But it installed another old version
Is there any way to skip it from installing twice?