From 20d24a0b498ca5496bacc41a70082b31bda83ce2 Mon Sep 17 00:00:00 2001 From: liuzt50906 Date: Wed, 10 Jan 2024 14:33:38 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8E=20ci(pnpm=20build)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c80d5c..9583663 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,10 +18,18 @@ jobs: - name: Checkout uses: actions/checkout@master + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: 18 + + - name: Install pnpm + run: npm install -g pnpm + - name: Install and Build run: | - npm install - npm run build + pnpm install + pnpm run build - name: Deploy to GitHub Pages uses: JamesIves/github-pages-deploy-action@v4.3.3