From 8f2f3aeb88218f16575324c404cb3350df117a6c Mon Sep 17 00:00:00 2001 From: Madison Grubb Date: Wed, 4 Mar 2026 14:30:18 -0500 Subject: [PATCH] fetch ci each stage --- .gitea/workflows/pr.yml | 39 +++++---------------------------------- 1 file changed, 5 insertions(+), 34 deletions(-) diff --git a/.gitea/workflows/pr.yml b/.gitea/workflows/pr.yml index a145f3d..f9bd4b3 100644 --- a/.gitea/workflows/pr.yml +++ b/.gitea/workflows/pr.yml @@ -4,7 +4,7 @@ on: pull_request: jobs: - install: + lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 @@ -18,35 +18,11 @@ jobs: - name: Install dependencies run: npm ci - - name: Upload node_modules - uses: https://gitea.com/actions/gitea-upload-artifact@main - with: - name: node_modules - path: node_modules/ - - lint: - runs-on: ubuntu-latest - needs: install - steps: - - uses: actions/checkout@v6 - - - name: Setup Node.js - uses: actions/setup-node@v6 - with: - node-version: "24" - cache: "npm" - - - name: Restore node_modules - uses: https://github.com/ChristopherHX/gitea-download-artifact@main - with: - name: node_modules - - name: Run lint run: npm run lint test: runs-on: ubuntu-latest - needs: install steps: - uses: actions/checkout@v6 @@ -56,17 +32,14 @@ jobs: node-version: "24" cache: "npm" - - name: Restore node_modules - uses: https://github.com/ChristopherHX/gitea-download-artifact@main - with: - name: node_modules + - name: Install dependencies + run: npm ci - name: Run tests run: npm run test e2e: runs-on: ubuntu-latest - needs: install steps: - uses: actions/checkout@v6 @@ -76,10 +49,8 @@ jobs: node-version: "24" cache: "npm" - - name: Restore node_modules - uses: https://github.com/ChristopherHX/gitea-download-artifact@main - with: - name: node_modules + - name: Install dependencies + run: npm ci - name: Install Playwright browsers run: npx playwright install --with-deps chromium