summaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-02-21 13:00:50 +1100
committerDamien George <damien@micropython.org>2024-03-22 14:31:25 +1100
commit35b2edfc240050fc5310093db29927f6226c3157 (patch)
tree295898e23b615b2fc835589a8f6eacc6b682487b /.github
parentbadc0106bdc20e95d427184395c43ffd9d9beea8 (diff)
downloadmicropython-35b2edfc240050fc5310093db29927f6226c3157.tar.gz
micropython-35b2edfc240050fc5310093db29927f6226c3157.zip
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>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/biome.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/biome.yml b/.github/workflows/biome.yml
new file mode 100644
index 0000000000..88744f16ca
--- /dev/null
+++ b/.github/workflows/biome.yml
@@ -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