WIP: Tailwind CSS v4 migration (incomplete) #10539
This file contains hidden or 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: Unit tests for web code | |
| on: | |
| pull_request: | |
| paths: | |
| - ".github/workflows/web-test.yml" | |
| - "web-admin/**" | |
| - "web-common/**" | |
| - "web-local/**" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Filter modified codepaths | |
| uses: dorny/paths-filter@v3 | |
| id: filter | |
| with: | |
| filters: | | |
| admin: | |
| - ".github/workflows/web-test.yml" | |
| - "web-admin/**" | |
| common: | |
| - ".github/workflows/web-test.yml" | |
| - "web-common/**" | |
| - name: Set up NodeJS | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - name: NPM Install | |
| run: npm install | |
| # https://typicode.github.io/husky/how-to.html#ci-server-and-docker | |
| env: | |
| HUSKY: 0 | |
| - name: Run web-common unit tests | |
| if: steps.filter.outputs.common == 'true' | |
| run: npm run test -w web-common | |
| - name: Run storybook smoke tests | |
| run: |- | |
| npm run storybook:smoketest -w web-common |