-
Notifications
You must be signed in to change notification settings - Fork 187
Open
Description
Noting, this might be something with my project (I'm not much of a node user but i have updated my package.json
and package-lock.json
files to no avail.
It seems as though the action installs an outdated wrangler by default, from my logs:
/usr/local/bin/npm i wrangler@3.90.0
Currently I'm using Wrangler 4.14.1 (locally) and the older version seems to not like to deploy.
Here's how I've worked around the issue, but thought you all might want to update the default or maybe provide an version: 4.14.1
option to with:
Thanks!
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v4
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
workingDirectory: "data-worker"
preCommands: |
echo "*** pre commands ***"
echo `pwd`
npx wrangler --version
npm install wrangler@latest
echo "******"
EbregiselGamwich, mamiu, rwehe, svenmuennich, ste26054 and 8 more
Metadata
Metadata
Assignees
Labels
No labels