refactor: group component compose pattern #150
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 React Headless | |
on: | |
push: | |
paths: | |
- "packages/react-headless/**/*" | |
- ".github/workflows/react-headless-test.yml" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20.x" | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build headless common dependencies | |
run: yarn workspace @seed-design/dom-utils build && yarn workspace @seed-design/react-primitive build | |
- name: Run tests | |
run: yarn headless:test |