ソースを参照

chore(ci): replace yarn with pnpm

0xJacky 1 年間 前
コミット
08bfa6b221
1 ファイル変更4 行追加3 行削除
  1. 4 3
      .github/workflows/build.yml

+ 4 - 3
.github/workflows/build.yml

@@ -44,18 +44,19 @@ jobs:
             -   name: Set up nodejs
                 uses: actions/setup-node@v3
                 with:
-                    node-version: 18.x
+                    node-version: 21.x
 
             -   name: Install dependencies
                 run: |
                     corepack enable
-                    yarn install
+                    corepack prepare pnpm@latest --activate
+                    pnpm install
                 working-directory: frontend
 
             -   name: Build
                 run: |
                     npx browserslist@latest --update-db
-                    yarn build
+                    pnpm build
                 working-directory: frontend
 
             -   name: Archive frontend artifacts