Skip to content

Commit

Permalink
ci: small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pure-js committed Jan 3, 2025
1 parent cff9527 commit ef45a10
Show file tree
Hide file tree
Showing 6 changed files with 180 additions and 197 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './dist/'
path: './build/client'

deploy:
needs: build
Expand Down
2 changes: 1 addition & 1 deletion apps/client/app/react-router.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import type { Config } from '@react-router/dev/config';
export default {
// Config options...
// Server-side render by default, to enable SPA mode set this to `false`
ssr: true,
ssr: false,
} satisfies Config;
4 changes: 2 additions & 2 deletions apps/client/lighthouserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ ci:
- 'http://localhost:4173/self-hosted-microblogging/posts/1'
- 'http://localhost:4173/self-hosted-microblogging/posts/1/edit'
- 'http://localhost:4173/self-hosted-microblogging/posts/new'
staticDistDir: './build'
# isSinglePageApplication: true
# staticDistDir: './dist'
isSinglePageApplication: true
assert:
assertMatrix:
- matchingUrlPattern: '.*'
Expand Down
2 changes: 1 addition & 1 deletion apps/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"browserslist": "~4.22.1",
"chromatic": "~9.0.0",
"cssnano": "^6.0.1",
"eslint": "^8.57.0",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-love": "~43.1.0",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"e2e": "playwright test",
"deploy": "act -j publish",
"release": "standard-version",
"lint": "eslint apps/**/* --ext .tsx,.jsx,.js,.ts",
"lint": "eslint apps --ext .tsx,.jsx,.js,.ts",
"format:check": "prettier --check .",
"format:write": "prettier --write ."
},
Expand All @@ -41,7 +41,7 @@
"@vitest/ui": "^1.6.0",
"browserslist": "~4.22.1",
"chromatic": "~9.0.0",
"eslint": "^8.57.0",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-love": "~43.1.0",
Expand Down
Loading

0 comments on commit ef45a10

Please sign in to comment.