fix: return state format to br #194
Workflow file for this run
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: Jest test validators | |
on: | |
pull_request: | |
branches: [main, latest] | |
jobs: | |
test: | |
name: Test specific packages | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "yarn" | |
- name: install deps | |
run: yarn install | |
- name: build libs | |
run: yarn build:libs | |
- name: Check changed packages | |
uses: dorny/paths-filter@v2 | |
id: changes | |
with: | |
filters: | | |
client: | |
- 'packages/client/src/**' | |
validators: | |
- 'packages/validators/src/**' | |
clientCore: | |
- 'packages/client-core/lib/**' | |
- name: test client Core | |
if: steps.changes.outputs.clientCore == 'true' | |
uses: mattallty/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
test-command: "yarn test:client-core" | |
- name: test client core (with client) | |
if: steps.changes.outputs.clientCore == 'true' | |
uses: mattallty/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
test-command: "yarn test:client" | |
- name: test client | |
if: steps.changes.outputs.client == 'true' | |
uses: mattallty/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
test-command: "yarn test:client" | |
- name: test validators | |
if: steps.changes.outputs.validators == 'true' | |
uses: mattallty/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
test-command: "yarn test:validators" |