-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Install npm version | ||
# Used to specify a version of npm that supports --provenance (for node installs < 18.X) | ||
description: Install the latest version of the npm CLI utility. | ||
inputs: | ||
npm_version: | ||
description: 'The version of npm to install' | ||
required: false | ||
default: latest | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: 'Install specified npm version' | ||
shell: bash | ||
run: | | ||
npm install -g npm@${{ inputs.npm_version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters