Skip to content

Commit

Permalink
Install Node 21
Browse files Browse the repository at this point in the history
  • Loading branch information
devraymondsh committed Apr 5, 2024
1 parent 2cb5367 commit bb5e1f4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/scheduled-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@ jobs:
container:
image: ubuntu:devel
steps:
-name: Install Nodejs 21 apt keyrings
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

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

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

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

- name: Run the script
run: node index.js
run: cd libnode-distributable && node index.js

0 comments on commit bb5e1f4

Please sign in to comment.