Skip to content

Commit

Permalink
setup pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Nov 27, 2024
1 parent cd9a268 commit a21b9f5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/deploy-embed-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/publish-embed-react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a21b9f5

Please sign in to comment.