Install node more directly

This commit is contained in:
Jack Jackson 2025-02-25 17:34:39 -08:00
parent 98052fe739
commit a588df5458

View File

@ -12,10 +12,10 @@ jobs:
# Despite not being present in the QuickStart instructions, this step is necessary in order to install `node`, # Despite not being present in the QuickStart instructions, this step is necessary in order to install `node`,
# which is itself required for `actions/checkout` # which is itself required for `actions/checkout`
- name: Install Node.js # Cannot use `actions/setup-node` because that _itself_ requires `node` (it makes it available to user-code,
uses: actions/setup-node@v4 # rather than to the system. Interesting discussion [here](https://gitea.com/gitea/act_runner/issues/538))
with: - name: Install node
node-version: 18 run: apt install -y node
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4