diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d8aa858..f6b3bc0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,16 +12,21 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Install pnpm - uses: pnpm/action-setup@v3 + - name: Set up Node uses: actions/setup-node@v4 with: node-version: 20 cache: "pnpm" + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + - name: Install dependencies run: pnpm install + - name: Build website run: pnpm start diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index e67a13f..31a43d2 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -12,15 +12,20 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Install pnpm - uses: pnpm/action-setup@v3 + - name: Set up Node uses: actions/setup-node@v4 with: node-version: 20 cache: "pnpm" + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + - name: Install dependencies run: pnpm install + - name: Test build website run: pnpm build \ No newline at end of file