]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - .github/workflows/release.yml
Switch package manager to pnpm
[github/bastienwirtz/homer.git] / .github / workflows / release.yml
index 44a128d0869db3778c93e36651fbb1d76d1142d6..398117225161ad48f80a3fa36f1ab3a67ed4bcb2 100644 (file)
@@ -13,11 +13,22 @@ jobs:
       - 
         name: Checkout
         uses: actions/checkout@v4
+      - 
+        name: pnpm setup
+        uses: pnpm/action-setup@v3
+        with:
+          version: 8
+      - 
+        name: Use Node.js 20
+        uses: actions/setup-node@v4
+        with:
+          node-version: 20
+          cache: 'pnpm'
       - 
         name: Build project
         run: |
-          yarn install --frozen-lockfile --non-interactive
-          yarn build
+          pnpm install --frozen-lockfile
+          pnpm build
       - 
         name: Create artifact
         working-directory: "dist"