From a21b9f592417e38e478e9e9ec9702e9562456b87 Mon Sep 17 00:00:00 2001 From: Steven Tey Date: Wed, 27 Nov 2024 11:33:57 -0800 Subject: [PATCH] setup pnpm --- .github/workflows/deploy-embed-script.yml | 7 ++++++- .github/workflows/publish-embed-react.yml | 7 +++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-embed-script.yml b/.github/workflows/deploy-embed-script.yml index 88cd06d1b8..f1d76b0ffb 100644 --- a/.github/workflows/deploy-embed-script.yml +++ b/.github/workflows/deploy-embed-script.yml @@ -13,8 +13,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - name: Checkout code + uses: actions/checkout@v3 + - name: Setup pnpm + uses: pnpm/action-setup@v3 + with: + version: 8 - name: Install dependencies & build run: pnpm --filter @dub/embed-core build diff --git a/.github/workflows/publish-embed-react.yml b/.github/workflows/publish-embed-react.yml index a2c33052fe..965e25db8d 100644 --- a/.github/workflows/publish-embed-react.yml +++ b/.github/workflows/publish-embed-react.yml @@ -18,11 +18,10 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - name: Setup Node.js - uses: actions/setup-node@v3 + - name: Setup pnpm + uses: pnpm/action-setup@v3 with: - node-version: "18" - registry-url: "https://registry.npmjs.org" + version: 8 - name: Install dependencies run: pnpm install