Skip to content

Commit

Permalink
Update lockfile in controller PR
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed Dec 16, 2024
1 parent 368acdf commit f024a1d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,20 @@ jobs:
- name: Create and switch to new branch
run: git checkout -b update-presets-${{ steps.sha.outputs.SHORT_SHA }}

- uses: pnpm/action-setup@v2
with:
version: "9.12.3"

- name: Update package.json
run: |
jq '.dependencies["@cartridge/presets"] = "github:cartridge-gg/presets#${{ steps.sha.outputs.SHORT_SHA }}"' package.json > tmp.json && mv tmp.json package.json
- name: Update lockfile
run: pnpm install

- name: Commit and push changes
run: |
git add package.json
git add package.json pnpm-lock.yaml
git commit -m "chore: update @cartridge/presets to ${{ steps.sha.outputs.SHORT_SHA }}"
git push origin update-presets-${{ steps.sha.outputs.SHORT_SHA }}
Expand Down

0 comments on commit f024a1d

Please sign in to comment.