From 00117f619dff22e993b996d804a93c1628486409 Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Tue, 8 Jul 2025 17:01:41 +0100 Subject: [PATCH] fix: forgejo deploy - add NodeJS to container --- .forgejo/workflows/deploy.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 29c2b9d..bec06ae 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -47,11 +47,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: "18" - cache: "npm" + - name: Install Node.js + run: | + curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - + sudo apt-get install -y nodejs - run: npm install - run: npm run build:posts