From c9819bfa934bcbcc644f1bfc8a31ae46df857246 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Wed, 20 Mar 2024 21:20:53 -0400 Subject: [PATCH] Install a newer node version --- .gitea/workflows/test.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index c0690fd..2c63b9b 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -10,7 +10,12 @@ jobs: - name: Install Dependencies run: | apt-get update - apt-get install nodejs git --yes + apt-get install git ca-certificates curl gnupg --yes + 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_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list + apt-get update + apt-get install -y nodejs - uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1