diff --git a/.gitea/workflows/msbuild.yaml b/.gitea/workflows/msbuild.yaml index 37e4115..c13c04f 100644 --- a/.gitea/workflows/msbuild.yaml +++ b/.gitea/workflows/msbuild.yaml @@ -10,7 +10,12 @@ jobs: runs-on: dotnet7 steps: - name: Prep for local builds - run: echo "${LOCIP} gitea.comnenos" >> /etc/hosts && ./install_node.sh + run: echo "${LOCIP} gitea.comnenos" >> /etc/hosts + + - name: Install Node + run: 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 && apt install nodejs -y + + - name: Checkout Repository - uses: actions/checkout@v2 - name: Setup .NET 7.0