feat(ci): filter dependencies to make installation faster

This commit is contained in:
Elian Doran 2025-09-28 00:00:29 +03:00
parent 6998a3593e
commit 093f48f76a
No known key found for this signature in database

View File

@ -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