mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-19 03:29:26 +01:00
Fix: [CI] preview flow can't install latest version of npm (#11265)
This commit is contained in:
parent
5f9b8aaa95
commit
21bd5fb991
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
|
||||||
|
Loading…
Reference in New Issue
Block a user