Skip to content

Commit d753dcc

Browse files
committed
Install Node 21 with nodesource
1 parent bb5e1f4 commit d753dcc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/scheduled-builds.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
container:
1313
image: ubuntu:devel
1414
steps:
15-
-name: Install Nodejs 21 apt keyrings
16-
run: mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_21.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
15+
-name: Install Nodejs 21 repo
16+
run: apt-get install --yes ca-certificates curl gnupg && curl -sL https://deb.nodesource.com/setup_21.x | bash -
1717

1818
- name: Update system
1919
run: apt-get update && apt-get --yes upgrade
2020

2121
- name: Install building tools
22-
run: apt-get install --yes git python3 python3-pip gcc g++ make ninja-build ca-certificates curl gnupg
22+
run: apt-get install --yes git python3 python3-pip gcc g++ make ninja-build nodejs
2323

2424
- name: Clone the repo
2525
run: git clone https://github.com/devraymondsh/libnode-distributable

0 commit comments

Comments
 (0)