Skip to content

Commit

Permalink
misc: Update CI to install dependencies with pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
Zer0dot committed May 10, 2024
1 parent f1c5485 commit cefec12
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,20 @@ jobs:
- name: Install forge dependencies
run: forge install

- name: "Install Pnpm"
uses: "pnpm/action-setup@v2"
with:
version: "8"

# - name: "Install Node.js"
# uses: "actions/setup-node@v3"
# with:
# cache: "pnpm"
# node-version: "lts/*"

- name: "Install Node.js dependencies"
run: "pnpm install"

- name: Build project
run: forge build --sizes

Expand All @@ -94,6 +108,20 @@ jobs:
- name: Install forge dependencies
run: forge install

- name: "Install Pnpm"
uses: "pnpm/action-setup@v2"
with:
version: "8"

# - name: "Install Node.js"
# uses: "actions/setup-node@v3"
# with:
# cache: "pnpm"
# node-version: "lts/*"

- name: "Install Node.js dependencies"
run: "pnpm install"

- name: Build project
run: FOUNDRY_PROFILE=lite forge build

Expand Down

0 comments on commit cefec12

Please sign in to comment.