diff --git a/.github/workflows/biome.yml b/.github/workflows/biome.yml new file mode 100644 index 00000000..b43b149a --- /dev/null +++ b/.github/workflows/biome.yml @@ -0,0 +1,31 @@ +name: Biome + +on: + pull_request: + branches: + - main + paths: + - "**.ts" + - "**.astro" + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [20.x] + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - name: check biome + run: | + npm ci + npm run biome:ci + env: + CI: true