Skip to content

Commit

Permalink
pnpm setup on all build jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpowell committed Sep 12, 2024
1 parent 6d7fbca commit 4f1dace
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/dotnet-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ jobs:
with:
node-version: "latest"

- uses: pnpm/action-setup@v4
name: Setup pnpm
with:
version: 9
run_install: false

- uses: actions/cache@v4
name: Cache NuGet packages
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/dotnet-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
with:
node-version: "latest"

- uses: pnpm/action-setup@v4
name: Setup pnpm
with:
version: 9
run_install: false

- uses: actions/cache@v4
name: Cache NuGet packages
with:
Expand Down Expand Up @@ -147,3 +153,4 @@ jobs:

- name: Publish to GitHub packages
run: dotnet nuget push ./*.nupkg --source "https://nuget.pkg.github.com/communitytoolkit/index.json" --api-key ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4f1dace

Please sign in to comment.