Prevent unnecessary route changes to fix 404 page #165
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: Core Tests | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'pnpm-lock.yaml' | |
- '.tool-versions' | |
- '.github/workflows/core.yml' | |
- 'core/**' | |
pull_request: | |
paths: | |
- 'pnpm-lock.yaml' | |
- '.tool-versions' | |
- '.github/workflows/core.yml' | |
- 'core/**' | |
permissions: | |
contents: read | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Install tools from asdf config | |
uses: ai/asdf-cache-action@v1 | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile --ignore-scripts | |
- name: Run tests | |
run: cd core && pnpm test | |
env: | |
FORCE_COLOR: 1 |