Skip to content

Commit bb5e1f4

Browse files
committed
Install Node 21
1 parent 2cb5367 commit bb5e1f4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/scheduled-builds.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@ 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
17+
1518
- name: Update system
1619
run: apt-get update && apt-get --yes upgrade
17-
20+
1821
- name: Install building tools
19-
run: apt-get install --yes git python3 python3-pip gcc g++ make ninja-build nodejs
22+
run: apt-get install --yes git python3 python3-pip gcc g++ make ninja-build ca-certificates curl gnupg
2023

2124
- name: Clone the repo
2225
run: git clone https://github.com/devraymondsh/libnode-distributable
2326

2427
- name: Run the script
25-
run: node index.js
28+
run: cd libnode-distributable && node index.js

0 commit comments

Comments
 (0)