Skip to content

Commit

Permalink
feat: use react server components (#167)
Browse files Browse the repository at this point in the history
* wip: update to experimental

* wip

* finish

* various fixes

* ref: rename to smth that makes more sense

* fix ci

* fix missing keys, refactor out main component
  • Loading branch information
ItzDerock authored Feb 10, 2024
1 parent 014c646 commit 65849b5
Show file tree
Hide file tree
Showing 19 changed files with 679 additions and 5,000 deletions.
29 changes: 17 additions & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,20 @@ jobs:
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- name: Add problem matcher
run: echo "::add-matcher::.github/problemMatchers/eslint.json"
- name: Use Node.js v16
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
- name: Use Node.js v20
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- uses: pnpm/action-setup@v3
with:
version: 8

- name: Install Dependencies
run: npm install
run: pnpm install --frozen-lockfile

- name: Run ESLint
run: npm run lint --fix=false
run: pnpm run lint --fix=false

TypeCheck:
name: TypeCheck
Expand All @@ -34,15 +38,16 @@ jobs:
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- name: Add problem matcher
run: echo "::add-matcher::.github/problemMatchers/tsc.json"
- name: Use Node.js v16
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
- name: Use Node.js v20
uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v3
with:
node-version: 16
version: 8

- name: Install Dependencies
run: npm install
run: pnpm install --frozen-lockfile

- name: Validate Types
run: npm run typecheck
# - name: Run Tests
# run: npm run test
run: pnpm run typecheck
7 changes: 4 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"editor.tabSize": 2,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.organizeImports": false
}
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},
"typescript.tsdk": "node_modules/typescript/lib"
}
Loading

0 comments on commit 65849b5

Please sign in to comment.