diff --git a/.circleci/config.yml b/.circleci/config.yml index d4e78140..3721c985 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,7 +19,7 @@ jobs: test-web: docker: - - image: circleci/node:6.14-stretch + - image: circleci/node:8 steps: - checkout - run: "yarn install" diff --git a/scripts/comment-on-pr.js b/scripts/comment-on-pr.js index 2695a990..0d3ef75d 100644 --- a/scripts/comment-on-pr.js +++ b/scripts/comment-on-pr.js @@ -43,40 +43,42 @@ const run = () => { Failed tests:
` - bot.comment(process.env.GH_AUTH_TOKEN, `### 🤖 Automated Parsing Preview 🤖 -**Commit:** \`${bot.env.commitMessage}\` - -![Screenshot of fixture (this embed should work after repo is public)](${bot.artifactUrl(screenshotPath)}) - -[Original Article](${url}) | ${bot.artifactLink(fixtureArtifactPath, 'HTML Fixture')} | ${bot.artifactLink(previewPath, 'Parsed Content Preview')} | ${bot.artifactLink(testResultsPath, "Test results")} - -
-Parsed JSON - -\`\`\`json -${JSON.stringify(json, null, 2)} -\`\`\` - -
-
- - -**\`null\` fields** - -${Object.keys(json).map(key => json[key] !== null ? '' : ` * \`${key}\`\n\n`).join('') || 'None'} - -` - ); +// bot.comment(process.env.GH_AUTH_TOKEN, `### 🤖 Automated Parsing Preview 🤖 +// **Commit:** \`${bot.env.commitMessage}\` +// +// ![Screenshot of fixture (this embed should work after repo is public)](${bot.artifactUrl(screenshotPath)}) +// +// [Original Article](${url}) | ${bot.artifactLink(fixtureArtifactPath, 'HTML Fixture')} | ${bot.artifactLink(previewPath, 'Parsed Content Preview')} | ${bot.artifactLink(testResultsPath, "Test results")} +// +//
+// Parsed JSON +// +// \`\`\`json +// ${JSON.stringify(json, null, 2)} +// \`\`\` +// +//
+//
+// +// +// **\`null\` fields** +// +// ${Object.keys(json).map(key => json[key] !== null ? '' : ` * \`${key}\`\n\n`).join('') || 'None'} +// +// ` +// ); }); }); }