Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

setup pnpm

Steven Teya21b9f592417
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