fix: path for unit tests #527
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: π Validate | |
on: | |
push: | |
branches: ["*"] | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
validate: | |
name: π Validate Changes | |
runs-on: ubuntu-latest | |
steps: | |
- name: β¬οΈ Checkout | |
uses: actions/checkout@v4 | |
- name: π₯‘ Setup PNPM 8 | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 8 | |
- name: π’ Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
cache: pnpm | |
- name: 𧩠Install Dependencies | |
id: install-dependencies | |
run: pnpm install | |
- name: βοΈ Code Lint | |
continue-on-error: true | |
run: pnpm run lint | |
- name: π Style Lint | |
continue-on-error: true | |
run: pnpm run lint:style | |
- name: ποΈ Build | |
run: pnpm run build | |
- name: π§ͺ Run Unit Tests | |
run: pnpm run test:unit |