Skip to content

Commit

Permalink
Add lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rcowsill committed Jan 6, 2024
1 parent 5e564cb commit 3d02bad
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3d02bad

Please sign in to comment.