Fix: [CI] preview flow can't install latest version of npm (#11265)

pull/611/head
Loïc Guilloux 9 months ago committed by GitHub
parent 5f9b8aaa95
commit 21bd5fb991
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -91,7 +91,8 @@ jobs:
# Ensure we use the latest version of npm; the one we get with current
# emscripten doesn't allow running "npx wrangler" as root.
npm install -g npm
# Current emscripten can't install npm>=10.0.0 because node is too old.
npm install -g npm@9
- name: Publish preview
uses: cloudflare/pages-action@v1

Loading…
Cancel
Save