fix(deps): update dependency astro to v5 #328
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: 5ouma/utils/setup-bun-with-cache@904b5a020b326785e1898e617f749b63d1c96404 # main | |
- name: πΎ Create a Meta File | |
run: echo '${{ vars.META_FILE }}' >meta.json | |
- 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: 5ouma/utils/setup-bun-with-cache@904b5a020b326785e1898e617f749b63d1c96404 # main | |
- name: ποΈ Biome Check | |
run: bun run check:biome | |
test: | |
name: π§ͺ Test | |
runs-on: Ubuntu-Latest | |
steps: | |
- name: π Checkout Repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: π Setup Bun with Cache | |
uses: 5ouma/utils/setup-bun-with-cache@904b5a020b326785e1898e617f749b63d1c96404 # main | |
- name: πΎ Create a Meta File | |
run: echo '${{ vars.META_FILE }}' >meta.json | |
- name: π§ͺ Run Tests | |
run: bun run test:cov | |
- name: βοΈ Upload Coverage | |
uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5.1.2 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: βοΈ Upload Test Results | |
if: ${{ !cancelled() }} | |
uses: codecov/test-results-action@9739113ad922ea0a9abb4b2c0f8bf6a4aa8ef820 # v1.0.1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
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: 5ouma/utils/setup-bun-with-cache@904b5a020b326785e1898e617f749b63d1c96404 # main | |
- name: πΎ Create a Meta File | |
run: echo '${{ vars.META_FILE }}' >meta.json | |
- name: π οΈ Build Check | |
run: bun run build |