From 173c02b952c06f4615d51502167ef1766679bd50 Mon Sep 17 00:00:00 2001 From: Tony0410 Date: Thu, 18 Dec 2025 15:01:08 +0000 Subject: [PATCH] Update workflow to build News-reader-pro --- .gitea/workflows/demo.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 2d739ab..168ff48 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -1,13 +1,17 @@ -name: Hello Gitea Actions +name: Build News-reader-pro on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Run a one-line script - run: echo "Hello, Gitea Actions!" - - name: Run a multi-line script - run: | - echo Add other actions as you wish... - echo Such as building your code, running tests, or deploying. \ No newline at end of file + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' # Adjust to your Node.js version + - name: Install dependencies + run: npm install + - name: Build the project + run: npm run build + - name: List build output + run: ls -la dist/ \ No newline at end of file