factor code in packages/utils #7
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: packages/components | |
on: | |
push: | |
paths: | |
- 'packages/components/**' | |
- '.github/workflows/ci_packages_components.yml' | |
defaults: | |
run: | |
working-directory: ./packages/components | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm i | |
- run: npm run lint | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm i | |
- run: npm run build | |
working-directory: ./packages/utils | |
- run: tsc | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm i | |
- run: npm run coverage | |
buildcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm i | |
- run: npm run build | |
working-directory: ./packages/utils | |
- run: npm run build |