Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
refactor: nextjs
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude committed Dec 8, 2021
1 parent b5cf369 commit 6ad757d
Show file tree
Hide file tree
Showing 295 changed files with 9,666 additions and 998 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
16 changes: 3 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Read/Write profiles' data"
name: Generate
on: [push]

jobs:
Expand All @@ -11,15 +11,5 @@ jobs:
with:
node-version: "14"
cache: "npm"
- run: |
npm i
node generate.js
- name: "Read/Write profiles' data"
uses: EddieHubCommunity/gh-actions-html-table-generator@main
with:
json-file-path: ".cache/data.json"
github-token: ${{ secrets.GITHUB_TOKEN }}
columns: 3
file-to-use: "profiles.md"
object-field-names: '[ "username", "name", "image", "issueId" ]'
html-cell: '<td align="center"><p><a href="https://github.com/{{ username }}">{{ name }}</a></p><img src="{{ image }}" /><p><a href="https://github.com/EddieHubCommunity/awesome-github-profiles/issues/{{ issueId }}">(💯 give your vote)</a></p></td>'
- run: npm i
- run: node generate.js
Loading

0 comments on commit 6ad757d

Please sign in to comment.