CI npm version should respect engines field
Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
3
.github/actions/setup/action.yaml
vendored
3
.github/actions/setup/action.yaml
vendored
@@ -25,6 +25,9 @@ runs:
|
|||||||
with:
|
with:
|
||||||
node-version-file: ".nvmrc"
|
node-version-file: ".nvmrc"
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
- if: inputs.node == 'true'
|
||||||
|
shell: bash
|
||||||
|
run: npm install -g npm@^11.8.0
|
||||||
- if: inputs.node == 'true'
|
- if: inputs.node == 'true'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|||||||
Reference in New Issue
Block a user