Skip to content

Commit

Permalink
Use npm ci --force to make CI work in Node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Oct 25, 2023
1 parent 5c0e505 commit be38184
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/mediasoup-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
restore-keys: |
${{ matrix.ci.os }}-node-
- run: npm ci
# NOTE: Add --force since otherwise `npm ci` fails in Node 26 because
# @octokit/auth-token dev dependency requires Node >= 16.
- run: npm ci --force
- run: npm run lint:node
- run: npm run test:node
4 changes: 4 additions & 0 deletions npm-scripts.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,10 @@ async function downloadPrebuiltWorker()
env : {}
}
);

logInfo(
'downloadPrebuiltWorker() | fetched mediasoup-worker prebuilt binary is valid for current host'
);
}
catch (error)
{
Expand Down

0 comments on commit be38184

Please sign in to comment.