From a588df5458f219562d9e83c4d85e362d9a3faf04 Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Tue, 25 Feb 2025 17:34:39 -0800 Subject: [PATCH] Install node more directly --- .gitea/workflows/publish.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index 03a3928..5e41b8f 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -12,10 +12,10 @@ jobs: # Despite not being present in the QuickStart instructions, this step is necessary in order to install `node`, # which is itself required for `actions/checkout` - - name: Install Node.js - uses: actions/setup-node@v4 - with: - node-version: 18 + # Cannot use `actions/setup-node` because that _itself_ requires `node` (it makes it available to user-code, + # rather than to the system. Interesting discussion [here](https://gitea.com/gitea/act_runner/issues/538)) + - name: Install node + run: apt install -y node - name: Check out repository code uses: actions/checkout@v4