Skip to content

Commit

Permalink
ci: more to p6m7g8-actions/next-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
pgollucci committed Nov 1, 2024
1 parent 08c9f58 commit 0fb39e0
Showing 1 changed file with 2 additions and 47 deletions.
49 changes: 2 additions & 47 deletions .github/workflows/upgrade-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,50 +9,5 @@ jobs:
upgrade:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
with:
fetch-depth: 0
ref: main
- name: Install Node.js
run: |
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
- name: Install pnpm and dependencies
run: |
corepack enable
corepack prepare pnpm@latest --activate
pnpm install
- name: Cache NPM dependencies
uses: actions/[email protected]
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node-
- name: Update Deps
run: |
pnpm up --latest
git diff
- name: Create Pull Request
id: create-pr
uses: peter-evans/[email protected]
with:
token: ${{ secrets.P6_PGOLLUCCI_GH_TOKEN }}
commit-message: |-
chore(deps): upgrade dependencies
Upgrades project dependencies. See details in [workflow run].
[Workflow Run]: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
branch: github-actions/upgrade-main
title: "chore(deps): upgrade dependencies"
labels: auto-approve
body: |-
Upgrades project dependencies. See details in [workflow run].
[Workflow Run]: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
author: github-actions <[email protected]>
committer: github-actions <[email protected]>
signoff: true
- name: Upgrade Deps
uses: p6m7g8-actions/next-upgrade@main

0 comments on commit 0fb39e0

Please sign in to comment.