github/workflows: Add Biome workflow for JavaScript formatting/linting.

Enable Biome on all of webassembly port and tests.

Signed-off-by: Damien George <damien@micropython.org>
pull/13583/head
Damien George 2024-02-21 13:00:50 +11:00
rodzic badc0106bd
commit 35b2edfc24
1 zmienionych plików z 16 dodań i 0 usunięć

16
.github/workflows/biome.yml vendored 100644
Wyświetl plik

@ -0,0 +1,16 @@
name: JavaScript code lint and formatting with Biome
on: [push, pull_request]
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: 1.5.3
- name: Run Biome
run: biome ci --indent-style=space --indent-width=4 tests/ ports/webassembly