Skip to content

Commit

Permalink
ci: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lihbr committed Aug 18, 2023
1 parent 280ab17 commit b15224e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [14, 16, 18, 20]
node: [16, 18, 20]

steps:
- name: Set up Node
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [14, 16, 18, 20]
node: [16, 18, 20]

steps:
- name: Set up Node
Expand Down
15 changes: 7 additions & 8 deletions src/UpgradeProcess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,29 +96,28 @@ export class UpgradeProcess {
const output = [
`\n${chalk.bgCyan(` ${chalk.bold.white("Prismic")} `)} ${chalk.dim(
"→",
)} Check command successful!\n\n`,
)} Check command successful!\n`,
];

if (Object.keys(this.context.conflicts).length) {
output.push(
`Your project ${chalk.cyan(
` Your project ${chalk.cyan(
"has conflicting slice IDs",
)}, see details above.`,
"You won't be able to upgrade yet.",
" You won't be able to upgrade yet.",
);
} else {
output.push(
`Your project is ${chalk.cyan("conflict-free")}!`,
"You will be able to upgrade soon.",
` Your project is ${chalk.cyan("conflict-free")}!`,
" You will be able to upgrade soon.",
);
}

output.push(
"",
"Stay tuned for more information about the upgrade project:",
"",
" Stay tuned for more information about the upgrade project:",
" - Newsletter: https://prismic.dev/upgrade/newsletter",
` - Twitter/X: https://twitter.com/prismicio`,
" - Twitter/X: https://twitter.com/prismicio",
);

// We prefer to manually allow console logs despite the app being a CLI to catch wild/unwanted console logs better
Expand Down

0 comments on commit b15224e

Please sign in to comment.