Files
my-app/.gitea/workflows/demo.yaml
Patrick 5aa90d8cee
Some checks failed
checks / Check & Test (Frontend + Backend) (push) Failing after 3s
Gitea Actions Demo / Explore-Gitea-Actions (pull_request) Failing after 1s
checks / Check & Test (Frontend + Backend) (pull_request) Failing after 3s
install node js
2025-10-29 11:25:02 +01:00

37 lines
853 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- name: Info
run: |
echo "Triggered by ${{ gitea.event_name }} event"
echo "Branch: ${{ gitea.ref }}"
echo "Repository: ${{ gitea.repository }}"
- name: Install Node.js
run: |
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs
node -v
npm -v
yarn -v
- name: Checkout repository
uses: actions/checkout@v4
- name: List repo files
run: ls .
- name: Done
run: echo "Workflow finished."