chore: configure knip #130
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/**/*" | |
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 `@seed-design/dom-utils` package | |
run: yarn workspace @seed-design/dom-utils build | |
- name: Run tests | |
run: yarn headless:test |