Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use react server components #167

Merged
merged 7 commits into from
Feb 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading