Skip to content

Commit

Permalink
fix: add guards for common Next.js App Router mistakes (#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Jan 26, 2024
1 parent 0237452 commit 323ca33
Show file tree
Hide file tree
Showing 16 changed files with 1,085 additions and 131 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = {
},
},
{
files: ['test/**/*.ts'],
files: ['test/**/*.ts', 'test-next/**/*.ts'],
rules: {
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-explicit-any': 'off',
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,14 @@ jobs:
with:
name: build-output
- run: npm run test:node-runtimes

next-runtime:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version: lts/*
- run: npm install
- run: npm run test:next
Loading

0 comments on commit 323ca33

Please sign in to comment.