Skip to content

Commit

Permalink
chore(ci): use pnpm action
Browse files Browse the repository at this point in the history
  • Loading branch information
ysfscream authored and Red-Asuka committed Nov 6, 2023
1 parent ac8da3d commit 37827d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build MQTTX CLI packages
on:
pull_request:
paths:
- 'apps/cli/**'
- 'appscli/**'
release:
types:
- published
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ jobs:
with:
node-version: '18.17'

- name: Install pnpm
run: npm install -g pnpm # Installs pnpm globally
- name: use pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Cache pnpm modules
uses: actions/cache@v3
Expand Down

0 comments on commit 37827d9

Please sign in to comment.