feat: β¨ add astro
support
#52
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: [pull_request] | |
jobs: | |
code_check: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ["20"] | |
steps: | |
- name: π Setup Repository | |
uses: actions/checkout@v4 | |
- name: π¦ Install | |
uses: ./.github/actions/install | |
with: | |
node-version: ${{ matrix.node }} | |
- name: π¦Ί Check | |
uses: ./.github/actions/check | |
- name: π§ Build | |
run: pnpm build | |
commit_check: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: read | |
steps: | |
- name: π Setup Repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: π¨ Commitlint | |
uses: wagoid/commitlint-github-action@v6 | |
with: | |
configFile: .commitlintrc.json | |
spell_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Setup Repository | |
uses: actions/checkout@v4 | |
- name: π¨ Spellcheck | |
uses: streetsidesoftware/cspell-action@v6 | |
with: | |
inline: error |