Skip to content

Commit

Permalink
Update to pnpm 8, fix lockfile
Browse files Browse the repository at this point in the history
Renovate PRs were all failing on initial install step, hope this will fix it.
  • Loading branch information
simonihmig committed Jun 28, 2023
1 parent 6984523 commit 8e57f2b
Show file tree
Hide file tree
Showing 4 changed files with 301 additions and 756 deletions.
12 changes: 3 additions & 9 deletions .github/actions/pnpm/action.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
name: Setup node and pnpm
description: Setup node and install dependencies using pnpm
runs:
using: "composite"
using: 'composite'
steps:
- uses: pnpm/[email protected]
with:
version: 7
version: 8.6.5
- uses: actions/setup-node@v3
with:
cache: 'pnpm'
- name: 'Install dependencies'
shell: 'bash'
run: |
pnpm -v
pnpm install --fix-lockfile
git_diff=$(git diff)
if [[ "$git_diff" -eq "" ]]; then
echo "Success: no lockfile differences" ;
else
echo "Error: lockfile differences detected";
fi
pnpm install
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
auto-install-peers=false
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
},
"volta": {
"node": "18.16.0",
"pnpm": "7.33.0"
"pnpm": "8.6.5"
}
}
Loading

0 comments on commit 8e57f2b

Please sign in to comment.