Minor fix #808
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: Build and test | |
on: [pull_request, push] | |
jobs: | |
all: | |
runs-on: ubuntu-latest | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Typescript check | |
run: pnpm tsc | |
- name: Vue linter | |
run: pnpm lint:ci | |
env: | |
NODE_ENV: production | |
- name: Build project | |
run: pnpm build | |
- name: Run tests | |
run: pnpm test |