From 093f48f76afab11749f6b1539476e25d4c3bfa96 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 28 Sep 2025 00:00:29 +0300 Subject: [PATCH] feat(ci): filter dependencies to make installation faster --- .github/workflows/website.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 6a14a2249..a269174a7 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -14,6 +14,7 @@ on: jobs: build-and-deploy: runs-on: ubuntu-latest + name: Build & deploy website permissions: contents: read @@ -24,10 +25,11 @@ jobs: - uses: actions/checkout@v5 - uses: pnpm/action-setup@v4 + - name: Install dependencies + run: pnpm install --filter website... --frozen-lockfile + - name: Build the website - run: | - pnpm i - pnpm website:build + run: pnpm website:build - name: Deploy uses: ./.github/actions/deploy-to-cloudflare-pages