Skip to content

ci: add formatting checks #1

ci: add formatting checks

ci: add formatting checks #1

Workflow file for this run

name: Node.js CI
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 22
- 20
- 18
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Check code style
uses: mongolyy/reviewdog-action-biome@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
fail_on_error: true
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Build
run: yarn build
- name: Test
run: yarn test