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/.gitignore b/.gitignore index c1df6902..0ae3e696 100644 --- a/.gitignore +++ b/.gitignore @@ -56,7 +56,6 @@ typings/ .env* .cache/ -public # Mac files .DS_Store diff --git a/public/default.png b/public/default.png new file mode 100644 index 00000000..d0cafecd Binary files /dev/null and b/public/default.png differ diff --git a/readme.md b/readme.md index 3f2b95be..c38d6580 100644 --- a/readme.md +++ b/readme.md @@ -30,7 +30,9 @@ This readme is auto-generated from the data.js file, so please don't PR this fil # Awesome Uses ![Awesome][awesome-badge] +* [Vladimir Vo](https://vldmr.website/uses) — Frontend developer with passion for great product design * [uncenter](https://www.uncenter.org/uses) — Very incompetent developer +* [Donavon West](https://donavon.com/uses) — Spread Love {...❤️} * [Justin Mahar](https://justinmahar.com/uses/) — Extremely bald Software Architect & Content Creator * [Syofyan Zuhad](https://syofyan-profile.vercel.app/uses/) — Full Stack Software Engineer 🇮🇩 * [Zilvinas Kucinskas](https://www.ziku.dev/uses/) — Full Stack Ruby on Rails Engineer and Entrepreneur @@ -409,6 +411,7 @@ This readme is auto-generated from the data.js file, so please don't PR this fil * [Josiah Wiebe](https://jwie.be/uses/) — Designer & developer, lifelong learner. * [Muhammad Oka](https://muhammadoka.dev/uses/) — Computer Science student, Cyber Security enthusiast. * [Benjamin Lannon](https://lannonbr.com/uses/) — Web Developer, Open Source Contributor, Livestreamer +* [Dmytro Litvinov](https://dmytrolitvinov.com/uses/) — Full Stack Python developer from 🇺🇦 * [Braden Watkins](https://bradenwatkins.dev/uses) — Student, Full Stack Developer, Lover of all things analog * [Rikin Patel](https://patelrikin.com/#uses) — Experienced Front-end developer, Passionate about Javascript * [Joris Hens](https://www.goodbytes.be/uses) — Web development teacher, Security and hacking enthousiast, Cook. 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/components/Person.js b/src/components/Person.js index 9b9d0e8b..fa8a5d82 100644 --- a/src/components/Person.js +++ b/src/components/Person.js @@ -20,6 +20,10 @@ export default function Person({ person }) { height="50" src={img} alt={person.name} + onError={({ currentTarget }) => { + currentTarget.onerror = null; // prevents looping + currentTarget.src = "/default.png"; + }} loading="lazy" />