Skip to content

Commit

Permalink
chore(frontend): fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
634750802 committed Jul 22, 2024
1 parent 4798a8b commit c38cd22
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,9 @@ jobs:
cache-dependency-path: ./frontend
cache: 'pnpm'
- run: pnpm i --frozen-lockfile
- uses: actions/cache@v4
with:
path: |
./frontend/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('frontend/**/pnpm-lock.yaml') }}-${{ hashFiles('frontend/**/*.js', 'frontend/**/*.jsx', 'frontend/**/*.ts', 'frontend/**/*.tsx') }}
- run: pnpm run verify
1 change: 1 addition & 0 deletions frontend/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"dev": "next dev --experimental-https",
"dev:local": "next dev",
"postinstall": "cp ../../README.md src/pages/docs/README.md",
"build": "next build && next-sitemap",
"build:standalone": "STANDALONE=1 next build --no-lint && next-sitemap",
"start": "next start",
Expand Down
2 changes: 2 additions & 0 deletions frontend/app/src/pages/docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This file should be copied by package.json's "postinstall" command
README.md
1 change: 0 additions & 1 deletion frontend/app/src/pages/docs/README.md

This file was deleted.

0 comments on commit c38cd22

Please sign in to comment.