feat: allow enabling darkmode via the dark class
#188
This file contains hidden or 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 | |
| tags: | |
| - "*" | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: denoland/setup-deno@v2 | |
| - name: Run fmt | |
| run: | | |
| deno fmt --check | |
| - name: Run lint | |
| run: | | |
| deno lint | |
| - name: Check project | |
| run: | | |
| deno task check:types | |
| - name: Install Chromium | |
| run: deno run -A npm:puppeteer browsers install chrome | |
| - name: Run tests | |
| run: | | |
| deno task test | |
| - name: Publish package (tag only) | |
| if: startsWith(github.ref, 'refs/tags/') | |
| run: deno publish |