Add eslint check in the CI

This commit is contained in:
Guillaume Gomez 2025-02-21 23:11:44 +01:00
parent 861940ba4b
commit 9823246ecd

View file

@ -3,9 +3,6 @@ on:
pull_request: pull_request:
merge_group: merge_group:
env:
BROWSER_UI_TEST_VERSION: '0.19.0'
jobs: jobs:
test: test:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -85,7 +82,9 @@ jobs:
with: with:
node-version: 20 node-version: 20
- name: Install browser-ui-test - name: Install browser-ui-test
run: npm install browser-ui-test@"${BROWSER_UI_TEST_VERSION}" run: npm install
- name: Run eslint
run: npm run lint
- name: Build and run tests (+ GUI) - name: Build and run tests (+ GUI)
run: cargo test --locked --target x86_64-unknown-linux-gnu --test gui run: cargo test --locked --target x86_64-unknown-linux-gnu --test gui