Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0c635c7

Browse files
committed
ci: install latest npm for older Node.js versions
1 parent5f1a00e commit0c635c7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎.github/workflows/main.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ jobs:
6262
-uses:actions/setup-node@v3
6363
with:
6464
node-version:${{ matrix.node }}
65+
# Node.js 14 ships with npm@6, which has trouble installing latest versions of itself
66+
-if:matrix.node == 14
67+
run:npm install -g npm@8
68+
# Install latest npm for older Node.js versions
69+
-run:npm install -g npm
6570
# Install node_modules
6671
-uses:actions/cache@v3
6772
id:cache-node_modules

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp