Add new Bun CLI script scripts/bun/optimizeImages.mts
to auto-optimize images
#278
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: Pull Request Workflow | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: CPU Details | |
run: lscpu | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: "1.1.26" | |
- run: bun install --frozen-lockfile | |
- run: bun run check:environment | |
- run: bun run check:package-version | |
env: | |
GITHUB_API_URL: ${{ env.GITHUB_API_URL }} | |
GITHUB_REF_NAME: ${{ env.GITHUB_REF_NAME }} | |
GITHUB_REPOSITORY: ${{ env.GITHUB_REPOSITORY }} | |
GITHUB_TOKEN: ${{ github.token }} | |
- run: bun --bun run check:formatting | |
- run: bun --bun run check:lint-conflicts | |
- run: bun --bun run check:types | |
- run: bun run lint:typescript |