feat: make partition by comment support line and block #1809
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: Test | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
jobs: | |
astro: | |
name: Astro | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Tools | |
uses: ./.github/actions/install-tools | |
- name: Install Dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Test | |
run: pnpm test:astro | |
css: | |
name: CSS | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Tools | |
uses: ./.github/actions/install-tools | |
- name: Install Dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Test | |
run: pnpm test:css | |
format: | |
name: Format | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Tools | |
uses: ./.github/actions/install-tools | |
- name: Install Dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Test | |
run: pnpm test:format | |
js: | |
name: JS | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Tools | |
uses: ./.github/actions/install-tools | |
- name: Install Dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Test | |
run: pnpm test:js | |
spelling: | |
name: Spelling | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Tools | |
uses: ./.github/actions/install-tools | |
- name: Install Dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Test | |
run: pnpm test:spelling | |
svelte: | |
name: Svelte | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Tools | |
uses: ./.github/actions/install-tools | |
- name: Install Dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Test | |
run: pnpm test:svelte | |
types: | |
name: Types | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Tools | |
uses: ./.github/actions/install-tools | |
- name: Install Dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Test | |
run: pnpm test:types | |
unit: | |
name: Unit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Tools | |
uses: ./.github/actions/install-tools | |
- name: Install Dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Test | |
run: pnpm test:unit | |
- name: Upload coverage reports to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |