Merge pull request #41 from brunotot/hotfix-run-build-before-writeTyp… #142
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: test-lib-api-client | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "**" | |
merge_group: | |
workflow_dispatch: | |
jobs: | |
test-lib-api-client: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: ⚙️ Configure paths filter environment variable | |
uses: dorny/paths-filter@v3 | |
id: changes | |
with: | |
filters: | | |
lib-api-client: | |
- 'packages/lib-api-client/**' | |
- name: 🛠 Setup Git, PNPM and Node.js | |
if: steps.changes.outputs.lib-api-client == 'true' | |
uses: ./.github/composite-actions/install | |
- name: 🚀 Run test | |
if: steps.changes.outputs.lib-api-client == 'true' | |
run: pnpm --filter lib-api-client test |