chore: remove useless code #578
Workflow file for this run
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: Lint & TypeCheck & Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths-ignore: | |
- '.vscode/**' | |
- '.github/**' | |
- 'LICENSE' | |
- 'renovate.json' | |
- 'CHANGELOG.md' | |
- 'README.md' | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'pnpm' | |
cache-dependency-path: 'pnpm-lock.yaml' | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm run build | |
- name: Lint | |
run: pnpm run lint | |
- name: TypeCheck | |
run: pnpm run typecheck | |
- name: Unit Test | |
run: pnpm run test:unit | |
- name: Install Playwright Browsers | |
run: pnpm exec playwright install --with-deps chromium | |
- name: Run Playwright tests | |
run: pnpm run test:e2e | |
- uses: actions/upload-artifact@v4 | |
if: ${{ !cancelled() }} | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |