mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
Merge pull request #1566 from BlakeCampbells/master
Upgrading to node 16 for workflows, updating regex
This commit is contained in:
commit
d6219e5dd8
5 changed files with 40 additions and 11 deletions
2
.github/workflows/data-validate.yml
vendored
2
.github/workflows/data-validate.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
.github/workflows/populate-readme.yml
vendored
2
.github/workflows/populate-readme.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
// });
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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\\/[^\\/]*$',
|
||||
'^\\/**\\/[^\\/]*$',
|
||||
],
|
||||
};
|
||||
|
|
|
|||
24
src/data.js
24
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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue