From 1339a22ab8db123957bf242c72ab6293e68b2c62 Mon Sep 17 00:00:00 2001 From: Meiko Remiorz Date: Thu, 22 May 2025 15:50:01 +0200 Subject: [PATCH] =?UTF-8?q?nodejs=20dem=20workflow=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/demo.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 2d2cb18..a0e7e63 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -1,20 +1,31 @@ name: Gitea Actions Demo run-name: ${{ gitea.actor }} is testing out Gitea Actions πŸš€ -on: + +on: workflow_dispatch: jobs: Explore-Gitea-Actions: runs-on: ubuntu-latest + steps: + - name: Install Node.js (fΓΌr JavaScript-basierte Actions) + run: | + sudo apt-get update + sudo apt-get install -y nodejs npm + - 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 "πŸ”Ž The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." + - name: Check out repository code uses: actions/checkout@v4 + - run: echo "πŸ’‘ The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "πŸ–₯️ The workflow is now ready to test your code on the runner." + - name: List files in the repository run: | ls ${{ gitea.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file + + - run: echo "🍏 This job's status is ${{ job.status }}."