update ThemeToggle to astro comp #22
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: | |
- "**" | |
pull_request: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
# Check: | |
# name: Run astro-check | |
# runs-on: ubuntu-latest | |
# strategy: | |
# matrix: | |
# deno: [2.x.x] | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: denoland/setup-deno@v2 | |
# with: | |
# deno-version: ${{ matrix.deno }} | |
# - name: Install dependencies | |
# run: deno install | |
# - name: Run astro-check | |
# run: deno task check | |
Format-Lint: | |
runs-on: ubuntu-latest | |
name: Format & Lint | |
strategy: | |
matrix: | |
deno: [2.x.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@v2 | |
with: | |
deno-version: ${{ matrix.deno }} | |
- name: Install dependencies | |
run: deno install | |
- name: Verify formatting | |
run: deno fmt --check | |
# - name: Run linter | |
# run: deno lint | |
# Test: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: denoland/setup-deno@v2 | |
# with: | |
# deno-version: ${{ matrix.deno }} | |
# - name: Install dependencies | |
# run: deno install | |
# - name: Run tests | |
# run: deno task test |