name: Lint on: [push, pull_request] permissions: contents: read jobs: lint: name: Lint runs-on: ubuntu-latest strategy: fail-fast: false matrix: node-version: [lts/*] steps: - name: Checkout repository uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: fetch-depth: 0 persist-credentials: false - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ matrix.node-version }} cache: 'npm' - name: Install dependencies run: npm ci - name: Run lint run: npx gulp lint - name: Run lint-mozcentral run: npx gulp lint-mozcentral