1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-25 23:49:09 +00:00

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

This commit is contained in:
Loïc Guilloux
2023-09-06 18:29:34 +02:00
committed by GitHub
parent 5f9b8aaa95
commit 21bd5fb991

View File

@@ -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