Skip to content

Commit 4d7f142

Browse files
authored
chore: changes (#34)
1 parent 1633ac4 commit 4d7f142

3 files changed

Lines changed: 4 additions & 19 deletions

File tree

.github/workflows/on-pull_request-build.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ jobs:
77
build:
88
runs-on: ubuntu-latest
99
timeout-minutes: 5
10-
outputs:
11-
sha-short: ${{ steps.vars.outputs.sha-short }}
1210
steps:
1311
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1412
- uses: ./.github/actions/initialize
@@ -35,10 +33,8 @@ jobs:
3533
env:
3634
CI_BUILD_ID: FIXED_CI_BUILD_ID
3735
38-
- uses: Himenon/upload-diff-artifact@bbd1d94347ec5d0cc2425d5a33d76c0c23fa0fe1
39-
id: vars
36+
- uses: Himenon/upload-diff-artifact@01b6cc722e631f4d071c525ba6b27c9c2b2885e2
4037
with:
41-
name: custom-build-name
4238
path: |
4339
apps/nextjs14-project/.next
4440
apps/nextjs15-project/.next
@@ -66,25 +62,15 @@ jobs:
6662
- run: pnpm i --frozen-lockfile
6763

6864
- name: Diff Artifacts
69-
uses: Himenon/diff-artifact@23e08445ffa42ca8cbb54f9201b68925b7159cbe
65+
uses: Himenon/diff-artifact@c712f70b1020a0de2e35714c1e69d24132fc415d
7066
with:
71-
github-token: ${{ github.token }}
7267
app-id: ${{ secrets.APP_ID }}
7368
app-private-key: ${{ secrets.APP_PRIVATE_KEY }}
74-
pr-sha: ${{ needs.build.outputs.sha-short }}
75-
base-ref: ${{ github.base_ref }}
7669
diff-viewer-owner: "Himenon"
7770
diff-viewer-repo-name: "compare-action-diff-viewer"
78-
base-artifact-name: custom-build-name
79-
pr-artifact-name: "custom-build-name-${{ needs.build.outputs.sha-short }}"
80-
base-branch-prefix: custom-build-name
81-
base-artifact-path: ".diff-artifacts/base"
82-
pr-artifact-path: ".diff-artifacts/pr"
83-
pr-branch-prefix: custom-build-name
8471
gitignore-patterns: |
8572
node_modules
8673
cache
8774
trace
8875
trace-build
8976
pre-push-shell: "pnpm exec oxfmt"
90-
enable-comment: "true"

.github/workflows/on-push-main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ jobs:
3232
- run: pnpm build
3333
env:
3434
CI_BUILD_ID: FIXED_CI_BUILD_ID
35-
- uses: Himenon/upload-diff-artifact@bbd1d94347ec5d0cc2425d5a33d76c0c23fa0fe1
35+
- uses: Himenon/upload-diff-artifact@01b6cc722e631f4d071c525ba6b27c9c2b2885e2
3636
with:
37-
name: custom-build-name
3837
path: |
3938
apps/nextjs14-project/.next
4039
apps/nextjs15-project/.next

apps/nextjs14-project/src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default function Home() {
77
<Image
88
className="dark:invert"
99
src="https://nextjs.org/icons/next.svg"
10-
alt="Next.js logo"
10+
alt="Next.js logso"
1111
width={180}
1212
height={38}
1313
priority

0 commit comments

Comments
 (0)