From 35b2edfc240050fc5310093db29927f6226c3157 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 21 Feb 2024 13:00:50 +1100 Subject: [PATCH] github/workflows: Add Biome workflow for JavaScript formatting/linting. Enable Biome on all of webassembly port and tests. Signed-off-by: Damien George --- .github/workflows/biome.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/biome.yml 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