From 3d02badff1236b2fb828743f49e87bed1a8f1198 Mon Sep 17 00:00:00 2001 From: Rob Cowsill <42620235+rcowsill@users.noreply.github.com> Date: Sat, 6 Jan 2024 13:15:51 +0000 Subject: [PATCH] Add lint workflow --- .github/workflows/lint.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..ba70ad6 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,24 @@ +name: WebExt Lint +on: [push, pull_request] + +permissions: + contents: read + +jobs: + web-ext-lint: + name: WebExt Lint + runs-on: ubuntu-latest + + steps: + - name: Checkout https://github.com/${{ github.repository }}@${{ github.ref }} + uses: actions/checkout@v4 + with: + persist-credentials: false + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: lts/* + + - name: Run linter + run: npx --no-install web-ext lint