From 3bc294680d1abe22ed69cfacbfb347679180521a Mon Sep 17 00:00:00 2001 From: a-super-cat <134527593+a-super-cat@users.noreply.github.com> Date: Sat, 23 Mar 2024 20:40:51 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3889044..c2abb1e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,14 +19,17 @@ jobs: node-version: 18 registry-url: https://registry.npmjs.org/ + - name: Setup pnpm + uses: pnpm/action-setup@v3.0.0 + - name: Install dependencies - run: npm i + run: pnpm i - name: Build - run: npm run build + run: pnpm run build - name: Publish to npm uses: JS-DevTools/npm-publish@v3.1.0 with: token: ${{ secrets.NPM_TOKEN }} - access: public \ No newline at end of file + access: public