diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 000000000..fcf716be9 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,22 @@ +name: Linting + +on: + push: + branches: + - main + pull_request: + +jobs: + lint: + name: biomejs + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v3 + - uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' + cache: 'pnpm' + - run: pnpm install + - run: pnpm lint:check diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 10a8052a8..444de426b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,6 @@ jobs: node-version-file: '.nvmrc' cache: 'pnpm' - run: pnpm install - - run: pnpm lint:check - run: pnpm tsc --noEmit - run: pnpm test -- --coverage --runInBand --verbose - name: Coveralls