From 54cddb5041e10f5ed85839e823b9dcb51c754241 Mon Sep 17 00:00:00 2001 From: adilallo <39313955+adilallo@users.noreply.github.com> Date: Fri, 12 Sep 2025 16:55:15 -0600 Subject: [PATCH] Update ci.yaml --- .gitea/workflows/ci.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 9d4e29a..8decb2c 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -48,7 +48,7 @@ jobs: if: ${{ github.server_url == 'https://github.com' }} with: { node-version: 20, cache: npm } - uses: actions/setup-node@v4 - if: ${{ github.server_url != 'https://github.com' }} + if: ${{ github.server_url != 'https://github.com' || !github.server_url }} with: { node-version: 20 } - run: npm ci - name: Install Playwright @@ -115,7 +115,7 @@ jobs: if: ${{ github.server_url == 'https://github.com' }} with: { node-version: 20, cache: npm } - uses: actions/setup-node@v4 - if: ${{ github.server_url != 'https://github.com' }} + if: ${{ github.server_url != 'https://github.com' || !github.server_url }} with: { node-version: 20 } - run: npm ci - name: Install Playwright @@ -196,7 +196,7 @@ jobs: if: ${{ github.server_url == 'https://github.com' }} with: { node-version: 20, cache: npm } - uses: actions/setup-node@v4 - if: ${{ github.server_url != 'https://github.com' }} + if: ${{ github.server_url != 'https://github.com' || !github.server_url }} with: { node-version: 20 } - run: npm ci @@ -340,7 +340,7 @@ jobs: if: ${{ github.server_url == 'https://github.com' }} with: { node-version: 20, cache: npm } - uses: actions/setup-node@v4 - if: ${{ github.server_url != 'https://github.com' }} + if: ${{ github.server_url != 'https://github.com' || !github.server_url }} with: { node-version: 20 } - run: npm ci - run: npm run storybook:build:github @@ -355,7 +355,7 @@ jobs: if: ${{ github.server_url == 'https://github.com' }} with: { node-version: 20, cache: npm } - uses: actions/setup-node@v4 - if: ${{ github.server_url != 'https://github.com' }} + if: ${{ github.server_url != 'https://github.com' || !github.server_url }} with: { node-version: 20 } - run: npm ci - run: npm run lint @@ -369,7 +369,7 @@ jobs: if: ${{ github.server_url == 'https://github.com' }} with: { node-version: 20, cache: npm } - uses: actions/setup-node@v4 - if: ${{ github.server_url != 'https://github.com' }} + if: ${{ github.server_url != 'https://github.com' || !github.server_url }} with: { node-version: 20 } - run: npm ci - run: npm run build