Skip to content

chore(deps): update nextjs monorepo to v13.5.6 - abandoned #1606

chore(deps): update nextjs monorepo to v13.5.6 - abandoned

chore(deps): update nextjs monorepo to v13.5.6 - abandoned #1606

name: Website Integrity
on:
pull_request:
paths:
- 'website/**'
branches:
- main
jobs:
website-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Fetch
run: git fetch origin main
- name: Setup env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 20
packageManager: pnpm
- name: Build Packages
run: pnpm build
- name: Typecheck
run: pnpm --filter website run build
- name: Compare
run: git diff origin/${{ github.base_ref }}.. -- website/route-lockfile.txt
- name: Diff to file
if: always()
id: diff_result
run: |
OUTPUT=$(git diff origin/${{ github.base_ref }}.. -- website/route-lockfile.txt)
OUTPUT="${OUTPUT//'%'/'%25'}"
OUTPUT="${OUTPUT//$'\n'/'%0A'}"
OUTPUT="${OUTPUT//$'\r'/'%0D'}"
echo "::set-output name=result::$OUTPUT"
- name: Publish a message
if: always() && contains(steps.diff_result.outputs.result, 'diff')
uses: marocchino/sticky-pull-request-comment@v2
with:
message: |
```diff
${{ steps.diff_result.outputs.result }}
```