name: "Lint" on: push: branches: - main pull_request: jobs: lint: name: "Lint" runs-on: ubuntu-latest env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 16 cache: 'npm' cache-dependency-path: package-lock.json - run: npm ci - run: npm run lint