-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { execSync } from 'child_process' | ||
|
||
const cachedCommitRef = process.env.CACHED_COMMIT_REF || 'd06423d365fa9cf3ef99a8653abbf1a83fe7d3bb' | ||
const commitRef = process.env.COMMIT_REF || 'HEAD' | ||
|
||
const changesList = execSync(`git diff --name-only ${cachedCommitRef} ${commitRef}`).toString() | ||
|
||
const isD0richMeChanged = changesList.includes('apps/d0rich.me') | ||
const isNuxtContentMermaidChanged = changesList.includes('packages/nuxt-content-mermaid') | ||
const isNuxtDesignSystemChanged = changesList.includes('packages/nuxt-design-system') | ||
|
||
const ignoreBuild = !isD0richMeChanged && !isNuxtContentMermaidChanged && !isNuxtDesignSystemChanged | ||
|
||
process.exit(ignoreBuild ? 0 : 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[build] | ||
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF || git diff ../../packages/nuxt-content-mermaid --quiet $CACHED_COMMIT_REF $COMMIT_REF || git diff ../../packages/nuxt-design-system --quiet $CACHED_COMMIT_REF $COMMIT_REF" | ||
ignore = "node apps/d0rich.me/ignore-build.mjs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { execSync } from 'child_process' | ||
|
||
const cachedCommitRef = process.env.CACHED_COMMIT_REF || 'd06423d365fa9cf3ef99a8653abbf1a83fe7d3bb' | ||
const commitRef = process.env.COMMIT_REF || 'HEAD' | ||
|
||
const changesList = execSync(`git diff --name-only ${cachedCommitRef} ${commitRef}`).toString() | ||
|
||
const isD0xigenD0richMeChanged = changesList.includes('apps/d0xigen.d0rich.me') | ||
const isNuxtContentMermaidChanged = changesList.includes('packages/nuxt-content-mermaid') | ||
const isNuxtDesignSystemChanged = changesList.includes('packages/nuxt-design-system') | ||
|
||
const ignoreBuild = !isD0xigenD0richMeChanged && !isNuxtContentMermaidChanged && !isNuxtDesignSystemChanged | ||
|
||
process.exit(ignoreBuild ? 0 : 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[build] | ||
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF || git diff ../../packages/d0xigen --quiet $CACHED_COMMIT_REF $COMMIT_REF || git diff ../../packages/nuxt-content-mermaid --quiet $CACHED_COMMIT_REF $COMMIT_REF || git diff ../../packages/nuxt-design-system --quiet $CACHED_COMMIT_REF $COMMIT_REF" | ||
ignore = "node apps/d0xigen.d0rich.me/ignore-build.mjs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { execSync } from 'child_process' | ||
|
||
const cachedCommitRef = process.env.CACHED_COMMIT_REF || 'd06423d365fa9cf3ef99a8653abbf1a83fe7d3bb' | ||
const commitRef = process.env.COMMIT_REF || 'HEAD' | ||
|
||
const changesList = execSync(`git diff --name-only ${cachedCommitRef} ${commitRef}`).toString() | ||
|
||
const isDesignD0richMeChanged = changesList.includes('apps/design.d0rich.me') | ||
const isNuxtDesignSystemChanged = changesList.includes('packages/nuxt-design-system') | ||
|
||
const ignoreBuild = !isDesignD0richMeChanged && !isNuxtDesignSystemChanged | ||
|
||
process.exit(ignoreBuild ? 0 : 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[build] | ||
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF || git diff ../../packages/nuxt-design-system --quiet $CACHED_COMMIT_REF $COMMIT_REF" | ||
ignore = "node apps/design.d0rich.me/ignore-build.mjs" |