Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 2 additions & 16 deletions .github/workflows/on-pull_request-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
outputs:
sha-short: ${{ steps.vars.outputs.sha-short }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/actions/initialize
Expand All @@ -35,10 +33,8 @@ jobs:
env:
CI_BUILD_ID: FIXED_CI_BUILD_ID

- uses: Himenon/upload-diff-artifact@bbd1d94347ec5d0cc2425d5a33d76c0c23fa0fe1
id: vars
- uses: Himenon/upload-diff-artifact@01b6cc722e631f4d071c525ba6b27c9c2b2885e2
with:
name: custom-build-name
path: |
apps/nextjs14-project/.next
apps/nextjs15-project/.next
Expand Down Expand Up @@ -66,25 +62,15 @@ jobs:
- run: pnpm i --frozen-lockfile

- name: Diff Artifacts
uses: Himenon/diff-artifact@23e08445ffa42ca8cbb54f9201b68925b7159cbe
uses: Himenon/diff-artifact@c712f70b1020a0de2e35714c1e69d24132fc415d
with:
github-token: ${{ github.token }}
app-id: ${{ secrets.APP_ID }}
app-private-key: ${{ secrets.APP_PRIVATE_KEY }}
pr-sha: ${{ needs.build.outputs.sha-short }}
base-ref: ${{ github.base_ref }}
diff-viewer-owner: "Himenon"
diff-viewer-repo-name: "compare-action-diff-viewer"
base-artifact-name: custom-build-name
pr-artifact-name: "custom-build-name-${{ needs.build.outputs.sha-short }}"
base-branch-prefix: custom-build-name
base-artifact-path: ".diff-artifacts/base"
pr-artifact-path: ".diff-artifacts/pr"
pr-branch-prefix: custom-build-name
gitignore-patterns: |
node_modules
cache
trace
trace-build
pre-push-shell: "pnpm exec oxfmt"
enable-comment: "true"
3 changes: 1 addition & 2 deletions .github/workflows/on-push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ jobs:
- run: pnpm build
env:
CI_BUILD_ID: FIXED_CI_BUILD_ID
- uses: Himenon/upload-diff-artifact@bbd1d94347ec5d0cc2425d5a33d76c0c23fa0fe1
- uses: Himenon/upload-diff-artifact@01b6cc722e631f4d071c525ba6b27c9c2b2885e2
with:
name: custom-build-name
path: |
apps/nextjs14-project/.next
apps/nextjs15-project/.next
Expand Down
2 changes: 1 addition & 1 deletion apps/nextjs14-project/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function Home() {
<Image
className="dark:invert"
src="https://nextjs.org/icons/next.svg"
alt="Next.js logo"
alt="Next.js logso"
width={180}
height={38}
priority
Expand Down