From 096686fa284d777ee5179487f456c7078522322a Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Mon, 6 May 2024 11:33:09 +0200 Subject: [PATCH] prepare environment --- .github/workflows/chromatic.yml | 5 +++++ package.json | 1 + 2 files changed, 6 insertions(+) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 68b233a..75dd0df 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -19,6 +19,11 @@ jobs: - name: Install dependencies run: pnpm install + - name: Prepare environment + run: | + pnpm run prisma:setup + pnpm run prisma:seed + - name: Run Chromatic uses: chromaui/action@latest with: diff --git a/package.json b/package.json index 5eb708c..7b3dd96 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "./*.tsx" ] }, + "type": "module", "scripts": { "build": "next build", "dev": "next dev",