trying to fix aquinas, yet again :(

This commit is contained in:
Greg Gauthier 2024-02-27 15:48:39 +00:00
parent c8da398fb8
commit cae98e1554
2 changed files with 8 additions and 1 deletions

View File

@ -10,7 +10,7 @@ jobs:
runs-on: dotnet7 runs-on: dotnet7
steps: steps:
- name: Prep for local builds - name: Prep for local builds
run: echo "${LOCIP} gitea.comnenos" >> /etc/hosts run: echo "${LOCIP} gitea.comnenos" >> /etc/hosts && ./install_node.sh
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Setup .NET 7.0 - name: Setup .NET 7.0

7
install_node.sh Normal file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
apt update && apt install -y ca-certificates curl gnupg
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
NODE_MAJOR=20
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
apt update && sudo apt install nodejs -y