Unverified 提交 bd3e5c4e authored 作者: José Luis Millán's avatar José Luis Millán 提交者: GitHub

CI: Use Node.js version 20 (#1177)

CI: Use Node.js version 20
上级 f56b20be
......@@ -36,6 +36,9 @@ jobs:
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
env:
MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: "true"
steps:
- name: Checkout repository
uses: actions/checkout@v3
......
......@@ -18,9 +18,9 @@ jobs:
- os: ubuntu-22.04
node: 20
- os: macos-12
node: 18
node: 20
- os: windows-2022
node: 18
node: 20
runs-on: ${{ matrix.ci.os }}
......
......@@ -37,7 +37,7 @@ jobs:
cxx: cl
# A single Node.js version should be fine for C++.
node:
- 18
- 20
runs-on: ${{ matrix.build.os }}
......
# Changelog
### NEXT
* CI: Use Node.js version 20 ([PR #1177](https://github.com/versatica/mediasoup/pull/1177)).
### 3.12.13
* Bump up Meson from 1.1.0 to 1.2.1 (fixes Xcode 15 build issues) ([PR #1163](https://github.com/versatica/mediasoup/pull/1163) by @arcinston).
......
......@@ -11,9 +11,18 @@ RUN \
libdbus-1-dev libboost-dev autoconf-archive bash-completion python3-yaml \
clang
# Install node 16.
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
RUN apt-get install -y nodejs
# Install node 20.
RUN set -x \
&& apt-get update \
&& apt-get install --yes ca-certificates curl gnupg \
&& mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key \
| gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& NODE_MAJOR=20 \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" \
> /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \
&& apt-get install nodejs --yes
# Make CC and CXX point to clang/clang++ installed above.
ENV LANG="C.UTF-8"
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论