Merge pull request #54 from RustLangES/feat/vue-setup #71
This file contains hidden or 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: (JS) Quality | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- "js/**" | |
- "package.json" | |
- "pnpm-workspace.yaml" | |
pull_request: | |
paths: | |
- "js/**" | |
- "package.json" | |
- "pnpm-workspace.yaml" | |
jobs: | |
lint-format: | |
name: Lint and Format Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 10 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build showcase | |
run: pnpm build:showcase-lib | |
- name: Run lint on all packages | |
run: pnpm lint | |
- name: Run format check on all packages | |
run: pnpm fmt:check |