forked from mirror/OpenTTD
Fix: [CI] preview flow can't install latest version of npm (#11265)
This commit is contained in:
3
.github/workflows/preview-build.yml
vendored
3
.github/workflows/preview-build.yml
vendored
@@ -91,7 +91,8 @@ jobs:
|
|||||||
|
|
||||||
# Ensure we use the latest version of npm; the one we get with current
|
# Ensure we use the latest version of npm; the one we get with current
|
||||||
# emscripten doesn't allow running "npx wrangler" as root.
|
# 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
|
- name: Publish preview
|
||||||
uses: cloudflare/pages-action@v1
|
uses: cloudflare/pages-action@v1
|
||||||
|
Reference in New Issue
Block a user