ui(frontend): open new page when click links inside remark content #590
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- frontend/** | |
- README.md | |
pull_request: | |
branches: | |
- main | |
paths: | |
- frontend/** | |
- README.md | |
jobs: | |
verify-frontend: | |
name: Verify frontend | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./frontend | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
run_install: false | |
package_json_file: ./frontend/package.json | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ./frontend/.nvmrc | |
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 |