diff --git a/.github/workflows/preview-theme.yml b/.github/workflows/preview-theme.yml
index 431322ba..eaec0884 100644
--- a/.github/workflows/preview-theme.yml
+++ b/.github/workflows/preview-theme.yml
@@ -14,15 +14,10 @@ jobs:
steps:
- uses: actions/checkout@v1
- - name: setup node
- uses: actions/setup-node@v1
- with:
- node-version: "12.x"
- - name: npm install, preview theme
- run: |
- npm install
- npm run preview-theme
+ - name: Install & Preview Theme
+ - uses: bahmutov/npm-install@v1
+ - run: npm run preview-theme
env:
CI: true
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
diff --git a/scripts/preview-theme.js b/scripts/preview-theme.js
index fe5f96bd..e809777b 100644
--- a/scripts/preview-theme.js
+++ b/scripts/preview-theme.js
@@ -13,7 +13,7 @@ function getPrNumber() {
}
const themeContribGuidelines = `
- \r> Hi thanks for opening the theme contribution, please read our theme contribution guidelines
+ \r> Hi thanks for the theme contribution, please read our theme contribution guidelines
\r> We are currently only accepting color combinations from any vscode theme or which has good color combination to minimize bloating the themes collection.
@@ -82,12 +82,9 @@ async function run() {
body: `
\rTheme preview (bot)
- \ntitle-color: #${titleColor}
- \nicon-color: #${iconColor}
- \ntext-color: #${textColor}
- \nbg-color: #${bgColor}
+ \ntitle_color: #${titleColor}
| icon_color: #${iconColor}
| text_color: #${textColor}
| bg_color: #${bgColor}
- Link: ${url}
+ \rLink: ${url}
\r[![](${url})](${url})