Skip to content

Install Node 21

Install Node 21 #8

name: Check for newer versions and publish
on:
schedule:
- cron: "0 8 * * *"
workflow_dispatch:
jobs:
update:
name: Check for newer versions of Rust and update
runs-on: ubuntu-latest
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

Check failure on line 16 in .github/workflows/scheduled-builds.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/scheduled-builds.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
- 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 ca-certificates curl gnupg
- name: Clone the repo
run: git clone https://github.com/devraymondsh/libnode-distributable
- name: Run the script
run: cd libnode-distributable && node index.js