diff --git a/.github/workflows/data-validate.yml b/.github/workflows/data-validate.yml index 9b312fcd..81e20dc8 100644 --- a/.github/workflows/data-validate.yml +++ b/.github/workflows/data-validate.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: - node-version: 13.x + node-version: 16.x - name: Cache/Restore node modules uses: actions/cache@v1 diff --git a/.github/workflows/populate-readme.yml b/.github/workflows/populate-readme.yml index f9885179..f9f3305d 100644 --- a/.github/workflows/populate-readme.yml +++ b/.github/workflows/populate-readme.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: - node-version: 13.x + node-version: 16.x - name: Cache/Restore node modules uses: actions/cache@v1 diff --git a/scripts/utils.js b/scripts/utils.js index 9088ead8..2aa0fd8a 100644 --- a/scripts/utils.js +++ b/scripts/utils.js @@ -111,6 +111,7 @@ module.exports.communicateValidationOutcome = async function ( ].join('\n'); } + const { GITHUB_TOKEN } = process.env; const { context } = github; if (!GITHUB_TOKEN || !context.payload.pull_request) { @@ -120,13 +121,13 @@ module.exports.communicateValidationOutcome = async function ( core.info(`Comment contents:\n${comment}`); return; } + // TODO: Re-enable a way to comment on PRs that tests passed. + // const pullRequestNumber = context.payload.pull_request.number; - const pullRequestNumber = context.payload.pull_request.number; - - const octokit = new github.GitHub(GITHUB_TOKEN); - await octokit.issues.createComment({ - ...context.repo, - issue_number: pullRequestNumber, - body: comment, - }); + // const octokit = new github.getOctokit(GITHUB_TOKEN); + // await octokit.rest.pulls.createReviewComment({ + // ...context.repo, + // pullRequestNumber, + // body: comment, + // }); }; diff --git a/server.ts b/server.ts index f61ecde4..97602293 100644 --- a/server.ts +++ b/server.ts @@ -12,5 +12,9 @@ export const config = { cache: "manual", path: "/*", // Pass all assets to the netlify asset server - excluded_patterns: ["/_assets/*", "/_shared/*", "/**/*.js"], + excluded_patterns: [ + '^\\/_assets\\/[^\\/]*$', + '^\\/shared\\/[^\\/]*$', + '^\\/**\\/[^\\/]*$', + ], }; diff --git a/src/data.js b/src/data.js index 2cee161d..de2ee2e3 100644 --- a/src/data.js +++ b/src/data.js @@ -21,6 +21,30 @@ * Keep this a commonjs export. */ module.exports = [ + { + name: 'Vladimir Vo', + description: 'Frontend developer with passion for great product design', + url: 'https://vldmr.website/uses', + twitter: '@v1in_', + emoji: '🖖', + country: '🇵🇱', + computer: 'apple', + phone: 'iphone', + tags: [ + 'Astro', + 'Front End', + 'Developer', + 'JavaScript', + 'TypeScript', + 'React', + 'Next', + 'JAMstack', + 'Netlify', + 'Vercel', + 'HTML', + 'CSS', + ], + }, { name: 'uncenter', description: 'Very incompetent developer',