Try running on node-20 image

This commit is contained in:
Jack Jackson 2025-02-25 17:53:25 -08:00
parent 9bd3403069
commit 7037d24602

View File

@ -4,19 +4,13 @@ on: [push]
jobs: jobs:
Explore-Gitea-Actions: Explore-Gitea-Actions:
runs-on: ubuntu-latest # Interesting discussion [here](https://gitea.com/gitea/act_runner/issues/538)
runs-on: node-20
steps: steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
# Despite not being present in the QuickStart instructions, this step is necessary in order to install `node`,
# which is itself required for `actions/checkout`
# 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-get install -y node
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4