chore(deps): update dependency tailwindcss to v4 #2665
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 | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2.0.1 | |
with: | |
bun-version-file: .bun-version | |
- run: bun install --frozen-lockfile | |
- run: bun run build | |
- name: Upload built project | |
uses: actions/upload-artifact@v4 | |
with: | |
path: ./dist | |
overwrite: true | |
retention-days: 1 | |
name: build-artifacts-${{ github.run_id }} | |
lint: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2.0.1 | |
with: | |
bun-version-file: .bun-version | |
- run: bun install --frozen-lockfile | |
- name: Lint | |
run: bun run lint:report | |
- name: Annotate Code Linting Results | |
if: always() | |
uses: ataylorme/eslint-annotate-action@v2 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
report-json: "eslint_report.json" | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: eslint-report | |
if-no-files-found: error | |
retention-days: 30 | |
path: eslint_report.json | |
test: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2.0.1 | |
with: | |
bun-version-file: .bun-version | |
- run: bun install --frozen-lockfile | |
- run: timeout 12s bun pre-commit | |
- run: bun run test | |
- run: ./check-lines.sh | |
- name: Bundle size breakdown | |
run: | | |
bun run build --sourcemap true | |
node src/ci/dependency_report.cjs dist/ | column -t -s ":" | |
- run: ./check-bundle-size.sh |