Fix registry tests 2 (#4685) #475
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: Packages Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - "packages/**" | |
| - ".github/workflows/packages-test.yml" | |
| jobs: | |
| packages-test: | |
| name: Packages Jest Tests | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: packages | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: "yarn" | |
| cache-dependency-path: yarn.lock | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| working-directory: packages | |
| - name: Run llm-mapper tests | |
| run: npx jest __tests__/ | |
| working-directory: packages |