Initialize the Astro project #3
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: π½ CI | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "**.astro" | |
- "**.ts" | |
- bun.lockb | |
- .github/workflows/ci.yml | |
pull_request: | |
paths: | |
- "**.astro" | |
- "**.ts" | |
- bun.lockb | |
- .github/workflows/ci.yml | |
jobs: | |
astro-check: | |
name: π Astro Check | |
runs-on: Ubuntu-Latest | |
steps: | |
- name: π Checkout Repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: π Setup Bun with Cache | |
uses: ./.github/actions/setup-bun-with-cache | |
- name: π Astro Check | |
run: bun run check:astro | |
biome-check: | |
name: ποΈ Biome Check | |
runs-on: Ubuntu-Latest | |
steps: | |
- name: π Checkout Repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: π Setup Bun with Cache | |
uses: ./.github/actions/setup-bun-with-cache | |
- name: ποΈ Biome Check | |
run: bun run check:biome | |
build-check: | |
name: π οΈ Build Check | |
runs-on: Ubuntu-Latest | |
steps: | |
- name: π Checkout Repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: π Setup Bun with Cache | |
uses: ./.github/actions/setup-bun-with-cache | |
- name: π οΈ Build Check | |
run: bun run build |